Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How do I rewrite mail headers using Mail::Send?

by linebacker (Scribe)
on Jun 25, 2002 at 17:28 UTC ( #177150=note: print w/replies, xml ) Need Help??


in reply to How do I rewrite mail headers using Mail::Send?

I don't know if I provided enough detail to get you where you are going, so here is one way to do it, from start to finish.
#!/usr/local/bin/perl -w $body = "Some stuff here..."; use Mail::Mailer; $mailer = Mail::Mailer->new("sendmail"); $mailer->open({ From => "BurningBritches\@hotpants.com", To => "someone\@somewhere.com", Subject => "Masked Mail Headers", }) or die "Can't open: $!\n"; print $mailer $body; $mailer->close();

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2021-08-03 21:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (40 votes). Check out past polls.

    Notices?