Emailing web form to autoresponder
Posted: Fri Jan 23, 2004 5:04 pm
hey all!! New to the forum.
right off the bat, I have what is a simple question for you guys.
I need to change the following code to change the php code from emailing just the admin to also our autoresponder, and add the word subscribe to the subject of the email.
currently, it looks like this.
/* the site administrator's email address */
$adminaddress = "admin@ourwebsite.com";
// we are now going to email them there info
mail("$adminaddress",
"subject goes here",
"subject goes here\n
Access Code: $accesscode\n
Clients Dir: $id_num\n
First Name: $firstname\n
Last Name: $lastname\n
Im already extremely appreciative in advance, thanks guys!
right off the bat, I have what is a simple question for you guys.
I need to change the following code to change the php code from emailing just the admin to also our autoresponder, and add the word subscribe to the subject of the email.
currently, it looks like this.
/* the site administrator's email address */
$adminaddress = "admin@ourwebsite.com";
// we are now going to email them there info
mail("$adminaddress",
"subject goes here",
"subject goes here\n
Access Code: $accesscode\n
Clients Dir: $id_num\n
First Name: $firstname\n
Last Name: $lastname\n
Im already extremely appreciative in advance, thanks guys!