Bounce back can only be done by a mail server. It reads the return path in the envelope and send a bounce message back along the return path, to the user who sent it.

The initial mail server (the one you are connecting to) is responsible for parsing the mail that you are sending, and building the envelope correctly. If it doesn't like what it's seeing, it will throw an error and your routine will fail, and then it's up to you to notify the user of the problem. Unless you are writing your own mail server you don't have to worry about bounces. If you are writing a mail server then you shouldn't be sending mail like that.

____________________
Jeremy
I didn't believe in evil until I dated it.


In reply to Re: sent mail by perl by jepri
in thread sent mail by perl by Anonymous Monk

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.