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

Is there a way to embed the text into an e-mail, without sending the e-mail, letting the user send it. I was wondering if there is a module out there or an outlook API or something.

Replies are listed 'Best First'.
Re: E-mail with perl
by IndyZ (Friar) on Mar 24, 2003 at 02:06 UTC
Re: E-mail with perl
by grantm (Parson) on Mar 24, 2003 at 02:10 UTC

    The simplest option would be to send the email to the user and they could forward it.

    Or, if you're giving them an HTML page you could include a hyperlink of the form <a href="mailto:user@domain?subject=Blah&body=Blah%20Blah">Send Email</a>.

    Or, (once again assuming an HTML interface) you could give them the email body in a textarea in a form. When they submit the form (presumably after editing the text), your script would use Mail::Sender or similar to send it.