PS
and it won't work unless (e-mail address removed) is a valid mailbox at your hosted site
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________
|
|
| ToEmail = Request.Form("Email")
|
| Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
| objCDOMail.To = "(e-mail address removed)
| objCDOMail.CC = ToEmail
| objCDOMail.From = "(e-mail address removed)"
| objCDOMail.Subject = "Confirming your posting on my Website"
| For Each item in FP_SavedFields
| strBody = strBody & item & ": " & FP_SavedFields(item) & VbCrLf
| Next
| objCDOMail.Body = strBody
| objCDOMail.BodyFormat = 0
| objCDOMail.MailFormat = 0
| objCDOMail.Send
| Set objCDOMail = Nothing
| %>
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| ==============================================
| If you feel your current issue is a results of installing
| a Service Pack or security update, please contact
| Microsoft Product Support Services:
|
http://support.microsoft.com
| If the problem can be shown to have been caused by a
| security update, then there is usually no charge for the call.
| ==============================================
|
| | > Yes I had looked at the digitalcolony site but there was nothing that helped.
| > Here' the code you requested, thank you for the offer to look at it....
| >
| > Heres the relevent form code:
| >
| > form action="--WEBBOT-SELF--" method="POST" name="FrontPage_Form1"
| > onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript">
| > <!--webbot bot="SaveDatabase" startspan SuggestedExt="asp"
| > U-ASP-Include-Url="../../_fpclass/fpdbform.inc" S-DataConnection="postjob"
| > S-RecordSource="Results" U-Database-URL="../../fpdb/postjob.mdb"
| > U-Confirmation-Url="http:
www.mysite.com/confirming.asp"
| > S-Builtin-Fields="HTTP_USER_AGENT REMOTE_HOST Timestamp REMOTE_USER"
| > S-Builtin-DBFields="Browser_type Remote_computer_name Timestamp User_name"
| > S-Form-Fields="Company Email Contact"
| > S-Form-DBFields="Company Email Contact" --><input TYPE="hidden"
| > NAME="VTI-GROUP" VALUE="0"><!--#include
| > file="../../_fpclass/fpdbform.inc"--><!--webbot
| > bot="SaveDatabase" endspan -->
| > .....
| > <input maxLength="80" size="67" name="Company" onkeypress="return
| > handleEnter(this, event)"style="font-weight: bold"></td>
| > </tr>
| > <tr>
| > <td valign="top" align="left" width="80"><font face="Arial"><b><font
| > size="2">Contact Name</font></b><font size="2">:</font></font></td>
| > <td valign="bottom">
| > <input type="text" name="Contact" onkeypress="return handleEnter(this,
| > event)" size="76"></td>
| > </tr>
| > <tr>
| > <td valign="top" align="left" width="80"><b><font size="2"
| > face="Arial">Contact Email:</font></b></td>
| > <td valign="bottom">
| > <input type="text" name="Email" onkeypress="return handleEnter(this,
| > event)" size="76">
| > </td>
| > </tr>
| >
| >
| > Here's the cdonts code:
| >
| > Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
| > objCDOMail.To = "(e-mail address removed)
| > objCDOMail.CC = ?????????????
| > objCDOMail.From = "(e-mail address removed)"
| > objCDOMail.Subject = "Confirming your posting on my Website"
| > For Each item in FP_SavedFields
| > strBody = strBody & item & ": " & FP_SavedFields(item) & VbCrLf
| > Next
| > objCDOMail.Body = strBody
| > objCDOMail.BodyFormat = 0
| > objCDOMail.MailFormat = 0
| > objCDOMail.Send
| > Set objCDOMail = Nothing
| > %>
| >
| > Thanks!
| >
| > Ramondo
| >
| > "Thomas A. Rowe" wrote:
| >
| >> Here is the first result I got doing the search I indicated:
| >>
| >>
http://digitalcolony.com/01/cdonts/
| >>
| >> --
| >> ==============================================
| >> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >> ==============================================
| >> If you feel your current issue is a results of installing
| >> a Service Pack or security update, please contact
| >> Microsoft Product Support Services:
| >>
http://support.microsoft.com
| >> If the problem can be shown to have been caused by a
| >> security update, then there is usually no charge for the call.
| >> ==============================================
| >>
| >> | >> > Don't think I did not do a search before posting! But none of the responses
| >> > helped.
| >> >
| >> > Perhaps someone else knows the answer and can help?
| >> >
| >> > Raymondo
| >> >
| >> > "Thomas A. Rowe" wrote:
| >> >
| >> >> In your IE address bar type:
| >> >>
| >> >> ? Sending Email with CDONTS
| >> >>
| >> >> --
| >> >> ==============================================
| >> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >> >> ==============================================
| >> >> If you feel your current issue is a results of installing
| >> >> a Service Pack or security update, please contact
| >> >> Microsoft Product Support Services:
| >> >>
http://support.microsoft.com
| >> >> If the problem can be shown to have been caused by a
| >> >> security update, then there is usually no charge for the call.
| >> >> ==============================================
| >> >>
| >> >> | >> >> > It must be easy... I am using cdonts to send a FP form to a database and also
| >> >> > by email to myself.
| >> >> >
| >> >> > I would like to Cc it to the email field within the form so that a copy goes
| >> >> > to that address as well. so the code would be:
| >> >> >
| >> >> > objCDOMail.Cc = ???????????
| >> >> >
| >> >> > Any ideas would be apreciated.
| >> >> >
| >> >> > Raymondo
| >> >> >
| >> >> >
| >> >>
| >> >>
| >> >>
| >>
| >>
| >>
|
|