Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

E-mail with perl

by legolas (Acolyte)
on Mar 24, 2003 at 01:54 UTC ( #245363=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2022-10-02 03:52 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (7 votes). Check out past polls.