You can send an e-mail with any address you so desire using Net::SMTP or any other e-mail module worth its salt. This is a configuration issue for your mail server.

Side comment 1: You should keep in mind that any auto-mailing CGI script is potentially abusable by immoral people for spamming other people. Obscurity is not a solution here - a colleague of mine caused the security folks around here to get into a tizzy because he naively set up such a site and it got abused by spammers.

Side comment 2: You have created four new threads in the last 28 hours asking how to send e-mails from your CGI script (No Reply message, MIME::Lite returns "SMTP Failed to connect to mail server: Bad file descriptor", Questions about sending e-mails, Sending emails in perl/cgi environment). Do you truly believe that each of these questions has been sufficiently distinct that they warrant separate discussion, particularly when creating a new thread creates an unnecessary break in thought for the monks trying to help you?


In reply to Re: No Reply message by kennethk
in thread No Reply message by vit

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.