CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
E-Mail Script

 



countryr
Deleted

Dec 28, 2000, 8:47 PM

Post #1 of 7 (3651 views)
E-Mail Script Can't Post

Hi, I'm looking for a script that changes the reply-to address in an e-mail message. In other words, when someone sends an e-mail to hello@spirit.com, (an e-mail address on my server), their reply-to address is automatically replaced with a reply-to address of my choice. This way I can force the recipient to reply to a certain address.

Any help would be appreciated, Thanks



j0k3r
Deleted

Jan 2, 2001, 5:59 AM

Post #2 of 7 (3633 views)
Re: E-Mail Script [In reply to] Can't Post

What type of server?



countryr
Deleted

Jan 3, 2001, 7:24 PM

Post #3 of 7 (3622 views)
Re: E-Mail Script [In reply to] Can't Post

The server is Unix...



mims1979
Deleted

Jan 13, 2001, 7:37 PM

Post #4 of 7 (3606 views)
Re: E-Mail Script [In reply to] Can't Post

first, you have to know what a mail server is expecting from you. I dont know if you have a mail script currently, but if you do you may just need to add a few more lines to it before it sends the subject....

first it is expecting a "mail from: whoever@domain.com"
on a server that doesnt have relaying enabled, it wont go past this point unless that address is from the same domain. which is why it is good to be able to put a reply address.

next it is wanting "RCPT TO: whoever@anywhere.com"

at that point, it recieves "data" to let it know that this is the body of the mail
then you can use any of these following lines:
To: whoever@anywhere.com
"From: whoever@anywhere.com" this is who the message will appear to come from, which inturn will be the reply address instead of the email address you gave it in "mail from:"
Subject: this is an email this is the subject of the msg
then you want to leave a blank line
then enter whatever you want to be in the body followed by a "." on a blank line.
then you are finish.

I have a referal script at http://www.mydesktophelp.com/perl.htm
that uses that very function. so that the email looks like it comes from the user that referred the person instead of a "mydesktophelp.com" email address.



countryr
Deleted

Jan 16, 2001, 4:04 PM

Post #5 of 7 (3595 views)
Re: E-Mail Script [In reply to] Can't Post

It is not my own server, I simply am paying for an account from the host, so I don't think I have access to the mail script as you are talking about. I believe I need a stand alone script that I can load in myself. Basically, I'm trying to create a program similiar to eGroup.com. It simply lets you write to an e-mail address such as anyone@anywhere.com and the message will then be forwarded to everyone that you have put on the list. The reply-to address is set to the anyone@anywhere address so that no matter who initially wrote to anyone@anywhere.com, the recipient will hit reply and thier new message will go right back to anyone@anywhere.com, not to the initial sender. So everyone that writes to anyone@anywhere.com will have their "from" address stripped out and replaced with anyone@anywhere.com. This way, all the replies get sent right back to everyone on the list. Thus creating a great group e-mail system. Does any of that make sense? I hope...



mims1979
Deleted

Jan 16, 2001, 4:09 PM

Post #6 of 7 (3594 views)
Re: E-Mail Script [In reply to] Can't Post

yes, thats exactly what im saying, i didnt mean that you have to have your own server, you just have to have access to your email server, if you can send and recieve email then you have access to your email server. see what im saying?



dalehend
stranger

Jan 16, 2001, 9:04 PM

Post #7 of 7 (3587 views)
Re: E-Mail Script [In reply to] Can't Post

A list server!
There is an open source list server at:
www.listar.org

It is not an egroups clone, but has a lot of features and does not require root access to install.

If you need a customization done. you can find me at...

dalehend@projectperl.com

RFQ Project Developer

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives