Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

E-mail with perl

by legolas (Acolyte)
on Mar 24, 2003 at 01:54 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-20 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found