in reply to Re^5: SMTP auth() command not supported on smtp.live.com
in thread SMTP auth() command not supported on smtp.live.com
Hi, Corion,
Thanks for your reply.
I'm on Windows, I don't know basename() function, so I changed to absolutely path, but I still got the same result, the pdf file is not correct.
my $filename = "E:/test.pdf"; my $type = "application/pdf"; $msg->attach( Type => $type, Disposition => 'attachment', Path => $filename, Filename => $filename, Binmode => 1, ) or die "Error adding PDF: $!\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: SMTP auth() command not supported on smtp.live.com
by lighterjoul (Initiate) on Jan 17, 2013 at 09:53 UTC | |
by Corion (Patriarch) on Jan 17, 2013 at 09:56 UTC | |
by lighterjoul (Initiate) on Jan 18, 2013 at 01:56 UTC |
In Section
Seekers of Perl Wisdom