|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to Make a Form Send an EmailDoes anyone know how I can make a FrontPage form that includes a field
for email address send an e-mail to the address entered in that field after they submit the form? Thanks, Cliff Cannot be done using the FrontPage extensions to process the form. You
will require a server side script written for whatever your host supports (PHP, asp, asp.NET, etc., with sendmail, jmail, cdosys etc.) -- Show quoteHide quoteRon Symonds - Microsoft MVP (FrontPage) Reply only to group - emails will be deleted unread. http://www.rxs-enterprises.org/fp "Cliff Seely" <cliff.se***@childplus.com> wrote in message news:1194359160.131784.244870@z9g2000hsf.googlegroups.com: > Does anyone know how I can make a FrontPage form that includes a field > for email address send an e-mail to the address entered in that field > after they submit the form? > > Thanks, > Cliff This assumes some variables have been passes to the .asp page This sends 2
email, one to the requestor and one to a processor. <% strClientMessage = "Dear " & Rep & vbcrlf&_ "Thank you for your submitting " & Company & "." & vbcrlf&_ "Their Customer Number is: " & OrderNumber & vbcrlf&_ "They have selected the "& FoodBank & " foodbank." strOriginalMessage = "Dear whoever" & vbcrlf &_ Rep & " has requested to be assigned " & Company & "." & vbcrlf &_ "Please review this and let him know. The Customer Number is " & OrderNumber & "." ' Send Client Message - to the Rep who submitted the order Set myMail = CreateObject("CDO.Message") myMail.Subject ="Customer you submitted" myMail.From = "some***@somewhere.com" myMail.bcc = "" myMail.To = RepEmail myMail.TextBody = strClientMessage myMail.Send set myMail=nothing ' Send original email - to someone Set myMail = CreateObject("CDO.Message") myMail.Subject = "Food Bank request from rep" myMail.From = RepEmail myMail.To = "someone@somewhere.comom" myMail.bcc = "" myMail.TextBody = strOriginalMessage & "" myMail.Send set myMail = nothing %> You can get the basic format from this. Hope it helps Dave http://ccgroup.us Show quoteHide quote "Ronx" <ronx***@hotmail.com> wrote in message news:ueUgRhIIIHA.4732@TK2MSFTNGP05.phx.gbl... > Cannot be done using the FrontPage extensions to process the form. You > will require a server side script written for whatever your host supports > (PHP, asp, asp.NET, etc., with sendmail, jmail, cdosys etc.) > > -- > Ron Symonds - Microsoft MVP (FrontPage) > Reply only to group - emails will be deleted unread. > > http://www.rxs-enterprises.org/fp > > > > > "Cliff Seely" <cliff.se***@childplus.com> wrote in message > news:1194359160.131784.244870@z9g2000hsf.googlegroups.com: > >> Does anyone know how I can make a FrontPage form that includes a field >> for email address send an e-mail to the address entered in that field >> after they submit the form? >> >> Thanks, >> Cliff >
Other interesting topics
widescreen monitors
Include Page difference in 2002 and 2003 database result page Running an EXE file outside of MSIE? IE doesnt hide status bar on window.open "status=no" Mouse over message display Slide Show on Web Page created with Front Page unable to create new pages Drop-Down Box Options Line Spacing Shared Borders |
|||||||||||||||||||||||