Re: How to send email using the mail function on Windows XP?




> Hi, Jerry
>
> Thanks for your detailed guidance. I've tested using the telnet
> command and the port 25 is not blocked.
>
> The big problems lies here:
> >> Once you get your SMTP server going properly
>
> Actually I don't know how to configure it... I just installed it. But
> when I sent an email, it went into the Badmail folder. So it even
> didn't have the chance to be filtered by anti-spam
>
> Regards
> Warren
>

(Top posting fixed)

The Badmail folder on your receiving system? That would mean the mail got sent, but the receiving system didn't like what it saw (I don't use gmail). So you would have to find out what is bad about it. The easiest way would be to look at the headers for your email, and compare them to headers for a "good" email to see what the difference is.


After testing for many times, it seems that I cannot configure "Domains" properly in IIS. After reading some links I realized that it's not intuitive at all to configure the SMTP Server in IIS.

Fortunately I managed to send emails to "myself" - localhost. That's enough for testing purpose so I stopped the attempt to send mails to Gmail. The instructions is listed below and I hope it can help those who need it:
http://www.cnblogs.com/WarrenTang/archive/2008/11/11/1331381.html

I still recommend PHPMailer - it makes your life much easier.

I'll definitely have a look at it. In fact it's not long since I started learning PHP.


And please don't top post. Thanks.


Just searched for "top post" and found that I've broken the netetiquette on usenet newsgroups... Thanks for reminding me that. And I hope this post is in a good manner:)
.



Relevant Pages