This is a discussion on "Asp And Email" within the Classic ASP section. This forum, and the thread "Asp And Email are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Asp And Email
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Asp And Email
Hello everyone,
I am very new to asp and coding in general. I have been tasked with creating web forms to allow feedback for our site and with google have got as far as creating a form which passes 4 simple text inputs to email.asp which does indeed send the email (using CDOSYS, dunno much about that either) I am a bit stuck though. here is what I have so far: Set myMail=CreateObject("CDO.Message") myMail.Subject="Feedback" myMail.From= (Request.Form("email")) myMail.To="me@mydomain" myMail.HTMLBody = (Request.Form("comments")) I would like the main body of the email I recieve to be formatted like this: User: username email: user@adomain.com Comments: The user cvomments Date: The date of thier visit Currently I get the comments in the main body and nothing else. Im new, so be gentle. Thanks in advance for any replies. |
|
|
|
||||
|
Re: Asp And Email
Hope this helps...
You may need to tweak it to match your mail forms, but it should be pretty close.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| a tag |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| jasonjkd | Web Page Design | 9 | Nov 12th, 2007 22:36 | |
| PHP email form not sending email | Kurt | PHP Forum | 1 | Oct 12th, 2007 04:26 |
| Form submits to email via php, but email is blank!!?? | DH1234 | PHP Forum | 2 | Jun 18th, 2007 10:42 |
| PHP Email | Sabin_33 | PHP Forum | 7 | Dec 22nd, 2006 15:28 |