Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 31, 2005, 8:32 am
rate this thread
I am attempting to get perl to send an Email message. Creating a new snmp
object works. After sending the command
$smtp->mail( $MailFrom) ;
I get a error message
530 authentication required.
I have tried the $smtp->auth($username, $password) but no effect.
How do I get around this problem? I am attempting to use my own ISP smtp
agent server address.
How do you set up the SMTP-object?
Try 'print $smtp->domain,"\n";' after setting up
the SMTP-object to check that you are conneceted.
See also "perldoc Net::SMTP". The banner-method is
What is the return value from this call?
Have you checked that the username and password work, e.g. from a mail