TourisT Posted July 11, 2012 Share Posted July 11, 2012 Hi, I got a presta 1.5.0.13 currently installing on an Amazon EC2 server. My next problem is: Impossible to send an email during the installation process. I tried using the php mail() function to send an email to [email protected]: An error occurred: Fatal error: Uncaught exception 'Exception' with message 'The sender parameter must either be a valid string email address or an instance of Swift_Address.' in /var/www/site2/tools/swift/Swift.php:345 Stack trace: #0 /var/www/site2/install/models/mail.php(82): Swift->send(Object(Swift_Message), 'tourist.leo@gma...', 'no-reply@ec2-54...') #1 /var/www/site2/install/controllers/http/database.php(141): InstallModelMail->send('Test message fr...', 'This is a test ...') #2 /var/www/site2/install/controllers/http/database.php(99): InstallControllerHttpDatabase->processSendMail() #3 /var/www/site2/install/classes/controllerHttp.php(167): InstallControllerHttpDatabase->process() #4 /var/www/site2/install/index.php(33): InstallControllerHttp::execute() #5 {main} thrown in /var/www/site2/tools/swift/Swift.php on line 345 I tried using the gmail SMTP servers smtp.gmail.com TLS 465 [email protected] ******** An error occurred: Fatal error: Uncaught exception 'Exception' with message 'The sender parameter must either be a valid string email address or an instance of Swift_Address.' in /var/www/site2/tools/swift/Swift.php:345 Stack trace: #0 /var/www/site2/install/models/mail.php(82): Swift->send(Object(Swift_Message), 'tourist.leo@gma...', 'no-reply@ec2-54...') #1 /var/www/site2/install/controllers/http/database.php(141): InstallModelMail->send('Test message fr...', 'This is a test ...') #2 /var/www/site2/install/controllers/http/database.php(99): InstallControllerHttpDatabase->processSendMail() #3 /var/www/site2/install/classes/controllerHttp.php(167): InstallControllerHttpDatabase->process() #4 /var/www/site2/install/index.php(33): InstallControllerHttp::execute() #5 {main} thrown in /var/www/site2/tools/swift/Swift.php on line 345 I read that swift doesn't like gmail... I tried: http://www.prestasho...ail-validation/ That didn't solve my problem... Any idea where I should look for correcting the issue? Link to comment Share on other sites More sharing options...
TourisT Posted July 11, 2012 Author Share Posted July 11, 2012 sudo apt-get install sendmail grrrrrrrr! Link to comment Share on other sites More sharing options...
Carl Favre Posted July 12, 2012 Share Posted July 12, 2012 Hello TourisT, Hehe, so problem solved? Link to comment Share on other sites More sharing options...
TourisT Posted July 12, 2012 Author Share Posted July 12, 2012 Yes Link to comment Share on other sites More sharing options...
Carl Favre Posted July 12, 2012 Share Posted July 12, 2012 Ok, so I changed your title to [solved] do not forget to do it for future topics. You just need to edit the first post of the topic to change the title. Link to comment Share on other sites More sharing options...
Recommended Posts