I choose SMTP, but get mail() error |
[eluser]nunomira[/eluser]
In my tests I have also got a lot of errors, depending on the server and on what was missing. Here are some errors for future reference: Quote:451 See http://pobox.com/~djb/docs/smtplf.html. Quote:Severity: Warning Quote:Unable to send email using PHP mail(). Your server might not be configured to send mail using this method. Quote:Severity: Warning Quote:Fatal error: Maximum execution time of ... I was astonished to find out that two different servers (unix and windows) didn't allow me to send email because Code: $config['newline'] = "\r\n";
[eluser]nunomira[/eluser]
So, with: - a SMTP server - the right credentials - the correct configuration email.php file - the newline parameter defined as above I was able to send emails from my local PHP installation, using Wampserver on Windows 7. No need to: - edit anything in php.ini - use ini_set()
[eluser]Unknown[/eluser]
[quote author="nunomira" date="1328273673"]In my tests I have also got a lot of errors, depending on the server and on what was missing. Here are some errors for future reference: Quote:451 See http://pobox.com/~djb/docs/smtplf.html. Quote:Severity: Warning Quote:Unable to send email using PHP mail(). Your server might not be configured to send mail using this method. Quote:Severity: Warning Quote:Fatal error: Maximum execution time of ... I was astonished to find out that two different servers (unix and windows) didn't allow me to send email because Code: $config['newline'] = "\r\n"; [/quote] Yes, this!!! I was having errors with the Communicate module in EE 1.7x; Running on a Windows server. Needed to change system>core>core.email.php so that var $newline = "\r\n"; var $crlf = "\r\n"; Now the mail is sent.
[eluser]InsiteFX[/eluser]
The reason you are all having this problem, is because the smtp settings are in your php.ini file. php.ini Code: [mail function] |
Welcome Guest, Not a member yet? Register Sign In |