authentication
am 31.10.2005 04:32:13 von whbjr24
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.
Thanks
Re: authentication
am 31.10.2005 14:18:15 von Arne Sommer
whbjr24 wrote:
> I am attempting to get perl to send an Email message. Creating a new snmp
> object works. After sending the command
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
also useful.
> $smtp->mail( $MailFrom) ;
> I get a error message
> 530 authentication required.
> I have tried the $smtp->auth($username, $password) but no effect.
What is the return value from this call?
> How do I get around this problem? I am attempting to use my own ISP smtp
> agent server address.
Have you checked that the username and password work, e.g. from a mail
program?
--Arne Sommer...