in reply to
How to disguise sender's email address with MIME::Lite?
#!/bin/perl
use MIME::Lite;
MIME::Lite->send('smtp', "emailserver.com", Timeout=>90);
my $Subject = "This email was generated automatically.\n";
my $MailFrom = "mygmail@gmail.com ";
my $to_list = 'john.kinney@gmail.com,jboss.s@gmail.com';
my $cc_list = 'vid.coll@gmail.com';
$msg = MIME::Lite->new(
From => $MailFrom,
To => $to_list,
Cc => $cc_list,
Bcc => $bcc_list,
Subject => $subject,
Type => 'TEXT',
Encoding=> '7bit',
Data => $a
);
$msg->send()
}
Comment on
Re: How to disguise sender's email address with MIME::Lite?
Replies are listed 'Best First'.
Re^2: How to disguise sender's email address with MIME::Lite?
by
neverminda
(Novice)
on Jun 12, 2007 at 13:08 UTC
Thanks for your input. But my problem is that the $MailFrom has to be myemail@emailserver.com for the email to be sent out using emailserver.com.
[reply]
In Section
Seekers of Perl Wisdom