Are you properly populating the To:, Cc:, Bcc: fields of the message and setting the message recipients?
-- Tim
----- Original Message ----- From: "John Mitchell" mitchelljj98@gmail.com To: "Tim Kehres" tim@kehres.com Cc: support@drupal.org Sent: Thursday, April 22, 2010 2:57 AM Subject: Re: [support] Unable to send e-mail. Please contact thesiteadministrator if the problem persists.
I changed the smtp_port from 110 to 25 within php.ini and now the emails are sent.
At the point that the emails are successfully sent within Drupal I now get a different drupal error message:
- warning: mail(): SMTP server response: 554 5.5.1 Error: no valid
recipients in C:\ms4w\Apache\htdocs\drupal\includes\mail.inc on line 193.
- Unable to send e-mail. Please contact the site administrator if
the problem persists.
John
On 4/21/10, Tim Kehres tim@kehres.com wrote:
FYI - port 110 is the standard port for POP3. SMTP uses port 25. When you are using port 25 are you sure you are specifying the correct host to connect to? Can the local name service resolve this name properly? Can you connect directly using telnet (to port 25)?
Best Regards,
-- Tim
----- Original Message ----- From: "John Mitchell" mitchelljj98@gmail.com To: "support" support@drupal.org Cc: "John Mitchell" mitchelljj98@gmail.com Sent: Thursday, April 22, 2010 1:40 AM Subject: Re: [support] Unable to send e-mail. Please contact the siteadministrator if the problem persists.
I have set up both:
SMTP = mail.mywebsite.com smtp_port = 110
within my php.ini file and I no longer get the errors listed in the below email, but no email is received within the users inbox.
Is their a way to debug to see how far the email went before it failed or why it did not make it to the users inbox?
Thanks,
John
On 4/7/10, John Mitchell mitchelljj98@gmail.com wrote:
I get the below error when I initially set up drupal and whenever it tries to send an email:
* warning: mail(): Failed to connect to mailserver at "localhost"port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\drupal\includes\mail.inc on line 193. * Unable to send e-mail. Please contact the site administrator if the problem persists. * warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\drupal\includes\mail.inc on line 193. * Unable to send e-mail. Please contact the site administrator if the problem persists.
How do I fix this?
Thanks,
John
-- John J. Mitchell
-- John J. Mitchell -- [ Drupal support list | http://lists.drupal.org/ ]
-- John J. Mitchell -- [ Drupal support list | http://lists.drupal.org/ ]