Ask a Question related to PERL Modules, Design and Development.
-
nikko #1
problems with Mail::Mailer
I need to fix a script that sends out emails from my site using
Mail::Mailer and send using the smtp method (which involkes
Net::SMTP). The sender info is included in the headers and most people
have no problem. However, some companies have anti spam methods where
they reverse lookup the senders domain and for this they do not use
the header address but the SMTP MAIL FROM: address. Since this is not
set, our mail server sents this to [email]posmaster@exbesv01.xyz.com[/email] which
results in the lookup failing on the recipient end and the email is
dropped.
I'd rather not change the script too much and was wonderng if it is
possible to make this work with Mail::Mailer.
The code is:
my $date = "$wday $mday $mon $year $hour:$min:$sec GMT";
my $mailserver = "smtp.xyz.com";
my $mailer = new Mail::Mailer('smtp', Server => $mailserver);
my(%headers) = ('To' => "$company",
'Bcc' => "licenses\@amer.xyz.com",
'From' => "ts-systems\@xyz.com",
'Subject' => "Your Info",
'Date' => $date,
);
$mailer->open(\%headers);
I added
'mail' => "ts-systems\@xyz.com",
but this did not help.
Any ideas?
nikko Guest
-
e-Mail Problems
A .pdf document was created using InDesign CS. When the .pdf document was e-mailed to two individuals one was able to open and print the document but... -
Mail::Mailer - Capturing SMTP error?
Hi all, QUESTION IN BRIEF: Using SMTP in Mail::Mailer how do I capture a 'user unknown' error as shown below from the debug info: ... -
PHP Mail Problems
BillyJoe wrote: I believe the From: needs a real existing email adress. -
Problems with mail()
Im having a formatting issue with mail(). My simple script looks like: $key = blah@blah.com; $subject = "My membership"; $message_to_send =... -
Claris E-Mailer with Baton Mail
Anyone using the combo Claris E-Mailer with Baton Mail to accomplish SMTP Auth? I will be needing to do this on an OS 9 system within the next 2...



Reply With Quote

