[ubuntu-in] mailsend in perl script

Dinesh Uthayakumar udinesh5 at gmail.com
Wed Jun 11 13:32:56 BST 2008


Hello !

system("../mailsend -d s.com -smtp mail.s.com -t udinesh5 at gmail.com  +cc +bc
-f info at s.com -auth-plain -user info at s.com <http://infos.com> -pass XXX -sub
Hello < ../body");

The domain s.com, is mentioned to hide the actual details.

The line in the perl script fails to authorize, where as, the command
mailsend with the same options if tested in shell, it works.

Output for your reference

[S] 220 mail.networksolutionsemail.com ESMTP
[C] EHLO s.com
[S] 250-mail.networksolutionsemail.com
[S] 250-AUTH LOGIN CRAM-MD5 PLAIN
[S] 250-AUTH=LOGIN CRAM-MD5 PLAIN
[S] 250-PIPELINING
[S] 250 8BITMIME
[C] AUTH PLAIN AGluZm8uY29tAGFkdHZ3b3Js
[S] 535 authorization failed (#5.7.0)
Error: AUTH PLAIN failed: '535 authorization failed (#5.7.0)'

Hope we troubleshoot it !


-- 
Dinesh Uthayakumar
techydinesh.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20080611/8e5df342/attachment.htm 


More information about the ubuntu-in mailing list