Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

how to get email notification in perl ?

by bh_perl (Monk)
on Dec 10, 2010 at 08:14 UTC ( #876397=perlquestion: print w/replies, xml ) Need Help??

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


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


Thank you,
  • Comment on how to get email notification in perl ?

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\");

    use Perl;
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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://876397]
Approved by perl_lover
Front-paged by perl_lover
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2023-02-01 14:56 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (10 votes). Check out past polls.