Hello, everyone,

I am a novice in this forum. This email just wonder if the latest Drupal 5.2 works under WinXP in terms of sending outgoing emails without the external module (Even without SMTP Authentication module provided in drupal.org)

To be the truth, I have tried many days. Neither default setting build in Drupal 5.2 nor using SMTP Authentication module could make it works.

Here is the in-depth message:

For default setting build in Drupal 5.2(without SMTP module): the tips show the further instruction has sent to the new user. But basically not.

For using SMTP Authentication module: the tips said the module is active and the configuration is saved, please check the log. But the log said sending email error and said "From:" email failed; cannot send email from ***@gamil.com to ***@hotmail.com.

Does anybody have any idea about that.

Cai.

Comments

davesgonebananas’s picture

You say you are using WinXP to host your site ~ I am running XAMPP on my XP box. The best place to start with mail issues is to ensure that php.ini mail settings are correct. By default it's set to localhost, which means your computer acts as the mail server. XP doesn't act as a mail server by default - only if you install the IIS SMTP server component. HOWEVER BE WARNED that most/some ISPs block port 25 and thus prevent your computer from acting as a mail server.

The best solution is to get PHP to use your ISPs mail server to send email. To do so open up your php.ini - for me this is in c:\xampp\apache\bin. You want to find the [mail function] section, and ensure SMTP is set to your ISPs mail server. This is the one they give you for Outgoing mail when telling you how to set up Outlook Express.

If you don't require mails to actually be sent to external addresses you could set up a local mail server such as MercuryMail - this will allow you to view any outgoing mail that was sent then dump it.

I hope I was helpful ~ first time posting here.

showWayer-1’s picture

Thank you for your hint, davesgonebananas. I think it helps. I did use XAMPP as well and I stopped the IIS server since it might brings the conflicts with Apache Http Server. In your posting, you said "If you don't require mails to actually be sent to external addresses..". This is my loptap(but without the public domain, I always use localhost 127.0.0.1.) Do you think I have the previledge to send the outgoing mail? Plus, I can easily make the Client Application such as Thunderbird send the incoming/outgoing emails, such as gmail.

Cai.

davesgonebananas’s picture

If you are able to send mail through an email client then you can send mail from drupal. You should check the php.ini settings I mentioned earlier. Also, yes IIS can conflict with Apache so it's best to disable it.