AidanLee has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mail::Sender issue
by suaveant (Parson) on May 04, 2001 at 21:36 UTC | |
by AidanLee (Chaplain) on May 04, 2001 at 21:39 UTC | |
by suaveant (Parson) on May 04, 2001 at 21:40 UTC | |
by AidanLee (Chaplain) on May 04, 2001 at 21:41 UTC | |
by AidanLee (Chaplain) on May 04, 2001 at 21:42 UTC | |
by AidanLee (Chaplain) on May 04, 2001 at 21:45 UTC | |
by suaveant (Parson) on May 04, 2001 at 21:45 UTC | |
by suaveant (Parson) on May 04, 2001 at 21:56 UTC | |
| |
|
Re: Mail::Sender issue
by suaveant (Parson) on May 04, 2001 at 21:58 UTC | |
by AidanLee (Chaplain) on May 04, 2001 at 22:06 UTC | |
by suaveant (Parson) on May 04, 2001 at 22:07 UTC | |
by AidanLee (Chaplain) on May 04, 2001 at 22:23 UTC | |
by suaveant (Parson) on May 04, 2001 at 22:28 UTC | |
|