June 29th, 1999, 02:07 AM
I am trying to build a form on my site that when a person submits his/her e-mail address that they entered in a form field, my autoresponder will automatically send the
requested information back to the e-mail address that person
entered on my page.
The problem is that the autoresponder reads the "from" field,and since the from field is my web page, this will not work.
Does anyone know how I can get the e-mail address the person enters in the form field into the "from" field. I know other
web pages are doing this, but I can't figure it out.
Any help would be greatly appreciated.
July 22nd, 1999, 12:25 PM
Assuming you're talking perl/sendmail...
Do you mean 'from' or 'reply-to'? They can be different eg from "Systems Admin" reply to "email@example.com". Different email clients may interpret these header fields differently.
Alternatively, if your using the (now) classic, but slow perl/sendmail filehandle, you could try using a socket on the loopback and relay the message through. That way you talk SMTP to the socket and call yourself whatever you like.