I cannot use the fromemail, as godaddy will block it from too many domains these days. I am a novice at asp, working with php and unix/linux. I need to be able to include the email address is the message body but unsure how to go about it. This was a request I received from someone who inherited the site. What i have: objMail.From="validemail@email.com" objMail.To="validemail@email.com" objMail.Subject=request.form("Subject") objMail.TextBody=request.form("messagetext") How do I add fromemail into the message body? help would sure be appreciated.
My suggestion is to just use a free gmail account for all of your contact forms. You won't have as many problems.
The problem is that the SENDER's email address is being rejected by godaddy. So I made the "from" an email address of the domain's so it won't be rejected. But I need to get that email address included as part of the form response and don't know how to go about it. Should be simple, but as I said, asp is not something I am yet familiar with.
Try this: objMail.TextBody="From: " & request.form("fromemail") & chr(13) & chr(10) & request.form("messagetext")