I have just begun recently working with Mail::Sender and am having problems with the MailMsg object method. Namely, it does not seem to be working (I'm not getting any emails) but there is no documentation on what it is supposed to return on failure.
I checked the $Mail::Sender::Error variable which is supposed to store the most recent error and find the phrase 'The SMTP server ' followed by the contents of the body of my message.
I'm calling it thusly (from within a wrapper class):
return $self->{sender}->MailMsg(%args);
Has anyone any experience with Mail::Sender and with the MailMsg function in particular?
I'm not even sure that's relevant as I don't seem to have any indication that MailMsg sends out a failure response if there's a problem. It currently sends back nothing, and I don't know whether or not to take that as failure, as i see nothing in the documentation about it.
In reply to Mail::Sender issue by AidanLee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |