SMTP on Windows/IIS update

Thomas, Steve stethomas at ebay.com
Fri Aug 19 19:45:30 UTC 2005


Hey folks,

I'm still trying to get this to work. Since I am a PHP programmer (actually my background includes almost everything *except* Perl), doing what seems to be required--rewriting the SMTP code--is not a good option for me. As such I wrote a PHP script to send an email (a one-liner) and my plan is to have BugMail simply call the script using HTTP. 

I still have no clue as to why the original code doesn't work. When I switch to using localhost directly and turn on the local SMTP server, I do in fact see the mail messages gather in the outbound queue, but they go nowhere from there. When I talk directly to the corporate SMTP server (which is Exchange, which is probably the problem overall), it just sucks up the mail message with no errors at all (or at least none that I get to see given the SMTP code).

Thinking I could just drop in the open() call to the PHP script would be easy is turning out to be wrong as well. Given the sendmail roots (apparently) of the Bugzilla mail functionality deriving what you need for a normal mail interface (from, to, subject, message) is actually pretty hard for somebody with little Perl experience. Somebody that actually knows what they are doing could probably write me such a snippet in about 5 minutes, but oh well.

If anybody has any other tricks I might pull to get the current SMTP code working with an MS exchange server, that would be splendid. Note that (as implied above) PHP's built-in mailer seems to have no problem sending mail to our servers.

Thanks,

 

Steve Thomas

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3735 bytes
Desc: not available
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20050819/1ed803c5/attachment.bin>


More information about the developers mailing list