send email using PERL
I m trying to send email using MIME lite as below
Code:
#! /usr/bin/perl -w But Everytime i run the script i get this error message as below SMTP RCPT command failed: 5.0.0 <ana@gogo.biz>... Use MXes or authenticate yourself I am very sure the username and password is correct because if i telnet to my STMP hostname and send email using SMTP command it works. any idea guys? |
Are you sure you need to authenticate when sending? Not all SMTP hosts require this if allowed in the relay domains configuration, etc. Is gogo.biz you're own domain or your ISP domain?
|
Yes i need to authenticate when sending
i got this one works in java program and if i use SMTP command by telneting to my STMP server port 25 i m be able to send the email successfully after authenticating myself i m not sure how it works in PERL Looks okay for me but it doesnt work. Thanks Anyone has tried before or have the sample? |
any suggestion guy?
its not neccesary to use perl script as long i can send mail using script from Solaris by specifiying the hostname and authenticate |
All times are GMT -5. The time now is 03:19 PM. |