[H-GEN] Email "from"

Michael Anthon mca at tams.com.au
Tue May 11 01:01:09 EDT 1999


(Note reply-to: being general at humbug.org.au vs Michael Anthon <mca at tams.com.au>)

Try this...
http://mysite.directlink.net/gbarr/pod/Net/SMTP.html

Cheers
Michael Anthon

-----Original Message-----
From: Luke Grant [mailto:skywalke at webexpress.net.au]
Sent: Tuesday, 11 May 1999 12:39
To: general at humbug.org.au
Subject: [H-GEN] Email "from"


(Note reply-to: being general at humbug.org.au vs "Luke Grant"
<skywalke at webexpress.net.au>)

hey guys,

I have written an email CGI for this particular customer and he specificaly
wants it in perl so he can update it.

Anyways, i need to be able to get the from:blah at host.blah to be
configurable.
unfortunately i can't work out how to do this in perl.....

i currently have the email being sent in the following format.

>open(MAIL,"somemailfile");
>print MAIL "the email";
>close(MAIL);
>
>open(STDIN, "thesamemailfile");
>system("mail","-s","subject","recipient at host");

of course the reader recieves the email and the "from" line contains
apache at myhost.com

......

anyone?

Luke

==============================================================
Luke Grant
zzlgrant at uq.net.au , skywalke at webexpress.net.au

"You are the Eggman, They are the Eggmen, I am the Walrus"
"Goo goo goo-joob"
==============================================================


--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.

--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list