boo_radley has asked for the wisdom of the Perl Monks concerning the following question:

use grovel qw(:I'm not worthy) so I've gotten a request for a simple logged email utility, to be used like :
sendemail address@domain.tld message...
so far everything's working well... Except for one detail
$smtp->recipient ($email_address ,Notify=> 'SUCCESS,FAILURE,DELAY');
never actually notifies the FROM address on reciept. The esmtp headers look ok, what am I missing???

Replies are listed 'Best First'.
Re: net::smtp::argh::argh::argh
by elusion (Curate) on Aug 02, 2000 at 01:17 UTC
    I'm not sure what exactly you're trying to do by using notify. I've looked over the documentation for Net::SMTP and it doesn't really give an explanation for that option. If you're hoping to know whether or not it worked you may want to put in a loop, because if it works it returns a true boolean value, and if it doesn't it returns false.

    - p u n k k i d
    "Reality is merely an illusion, albeit a very persistent one." -Albert Einstein

Re: net::smtp::argh::argh::argh
by Fastolfe (Vicar) on Aug 02, 2000 at 01:10 UTC
    Perhaps the remote server does not support the sending of automated notification messages?
      I thought that was the case, but the ESMTP header says that the server does. Additionally, requesting one through other mail programs works well. when I'm working with an anonymous hash like this, is it case sensitive? can I use keys on the smtp object to see what it expects or supports?