http://qs1969.pair.com?node_id=876397

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


hi..

How to get email notification using perl such as

1. email sent to customer

2. email received/open by customer

3. email attachment open by customer

..etc,,

Thank you,

Replies are listed 'Best First'.
Re: how to get email notification in perl ?
by perl_lover (Chaplain) on Dec 10, 2010 at 08:47 UTC
    You can use Net::SMTP and set Disposition-Notification-To attribute to your email address
    $smtp->datasend("Disposition-Notification-To: yourid\@domain.com");


    use Perl;
    Perl4Everything
Re: how to get email notification in perl ?
by MishaMoose (Scribe) on Dec 10, 2010 at 15:07 UTC

    You should also be aware that there is no guarntee, even if you do everything correctly, that you will recieve notification that someone recieved or read your email or attachment. Many email systems disable this feature at the site level and many email clients allow you to turn it off individually. These are designed to make less information avialable to spammers.

    Hope this is useful

    Corrected some typos. I mean my spelling is bad but not THAT bad 8^)

    Misha/Michael - Russian student, grognard, bemused observer of humanity and self professed programmer with delusions of relevance
Re: how to get email notification in perl ?
by Anonymous Monk on Dec 10, 2010 at 08:29 UTC
    You try by complying to the relevant RFC