Do you have access to the POP3/IMAP server the recipient will be using to check their mail? You can parse server logs to see when they check their mail and where they were coming from - although this will generally only tell you that they logged in, without telling you which messages they downloaded. A Webmail system will also have logs, and may indicate individual messages somehow.

You can send e-mail in HTML format with an <img> tag which will load a small graphic on a web server you control (you can copy http://phroggy.com/graphics/null.gif if you want), and make a CGI script to serve the graphic and send you notification, for example:

#!/usr/bin/perl # send notification here my $gif=`cat null.gif`; print "Content-type: image/gif\n\n$gif";

However, be aware that because this technique is frequently abused by spammers, all decent e-mail clients give the option to disable loading images this way.

Finally, consider sending a message with a link to a web page that the recipient must click on in order to read your message. The link they click can take them to a CGI which will send you notification - but you won't get automatic notification that they've received the e-mail itself, just that they've clicked the link in the e-mail (which they aren't guaranteed to do).

for $a(-2,12){for $b(0..7){$c=0;$_?hex substr(ef7fa1866706caeff0228940 +2844, 2*$_+$a,2)&2**(7-$b):0 and $c+=2**(7-$_)for(0..7);print chr $c;}}

In reply to Re: Getting Email Notification by phroggy
in thread Getting Email Notification by BilalNiaz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.