[Chicago-talk] MIME::LITE question
Richard Reina
richard at rushlogistics.com
Tue Apr 23 06:24:09 PDT 2013
Good Morning,
I send out automatic emails with the code below. Several people tell me that they go directly to their junk mail folder. Is there anything in the code that I can change to mitigate this?
Thanks in advance for your attention.
Richard
use MIME::Lite;
my $msg = MIME::Lite->new(
From => $r_to,
To => $tos,
Cc => $ccs,
Subject => $subject,
Data => $body
);
# set the encoding so TM symbol will show up
$msg->attr('content-type.charset' => 'UTF-8');
MIME::Lite->send('smtp','smtp.rushlogistics.com.xyzhost.com',
AuthUser=>$user, AuthPass=>$pass);
--
Richard Reina
Rush Logistics, Inc.
Watch our 3 minute movie:
http://www.rushlogistics.com/movie
More information about the Chicago-talk
mailing list