[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] perl script-generated sendmail headers



on 5/26/02 9:35 AM, David Black wrote:

> Some servers are rejecting our script-generated email messages,
> and the only reason I can think of, is because our outbound headers
> have "httpd@localhost" instead of "www.myserver.com [IP addr]"
> as the "Received: from..." ident. Here's an example (header snip):
> 
> Return-Path: <user@xxxxxxxxxxxx>
> Received: (from httpd@localhost)
> 

You might want to try using the MIME::Lite module and sending your messages
via SMTP:

$msg->send('smtp', "myserver.com", Timeout=>60);

That makes your mail acceptable for email addresses hosted by companies like
excite, which might otherwise bounce your mail.


-- 
Olaf Alders

olaf@xxxxxxxxxxxxxxx
http://vilerichard.com

Wed, June 5th -- Vile Richard @ Reverb (Queen and Bathurst, Toronto)