Forum Moderators: open

Message Too Old, No Replies

FrontPage Results via Email

Sending to Multiple Recipients

         

fahrside1

5:49 pm on Aug 20, 2003 (gmt 0)

10+ Year Member



I have placed a form on our website that sends results to both a database as well as emails me the results.

I have tried to add a second email recipient, and for some reason when I do, the results are not sent to either......

How can I have form results sent to more than one recipient?

I've gone into Form Properties> Options > E-Mail Results. I've tried putting a comma and both a semi-colon between recipients, and neither works. Please help! Thanks.

mattglet

4:12 am on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



what are you using to send the email? cdonts, aspmail, aspemail? i am guessing it's just a syntax problem.

-Matt

jk3210

4:26 pm on Aug 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>what are you using to send the email? cdonts, aspmail, aspemail? i am guessing it's just a syntax problem. <<

I'm trying to solve this same problem. Email is sent through www.mydomain.com ...I'm not sure what "cdonts, aspmail, aspemail" are. Could you explain?

Thanks

macrost

5:02 am on Aug 30, 2003 (gmt 0)

10+ Year Member



CDONTS is a mail component (correct me if I'm wrong Matt) that comes with IIS. The others such as aspemail and aspmail are third party components that are installed on the server that your website is hosted on. Say you have some code that looks like this:

<%OPTION EXPLICIT%>
<%
dim mail, firstname, lastname,streetaddress,city,state,homephone,workphone,fax,email,comments

firstname = Request.Form("firstname")
lastname = Request.Form("lastname")
streetaddress = Request.Form("streetaddress")
city = Request.Form("city")
state = Request.Form("state")
homephone = Request.Form("homephone")
workphone = Request.Form("workphone")
fax = Request.Form("fax")
email = Request.Form("email")
comments = Request.Form("comments")

'Create the object
set mail = server.CreateObject("CDONTS.NewMail")
mail.From = email
mail.To = "customerservice@domain.com"
mail.Subject = "Customer Contact"
mail.Body = "=================================" & vbcrlf & "Contact Name: " & firstname & "&nbsp;" & lastname & vbcrlf & "Contact Address: " & streetaddress & "&nbsp;" & city & "&nbsp;" & state & vbcrlf & "Contact Home Phone : " & homephone & vbcrlf & "Contact Work Phone: " & workphone & vbcrlf & "Contact Email: " & email & vbcrlf & "Contact Questions or Comments: " & comments & vbcrlf & "Contact Fax (if supplied): " & fax & vbcrlf
'If you want to place a carriage return in the body use vbCrLf.
mail.Send 'Send the message out.
set mail = nothing 'Clean up after yourself.
%>


Now if I remember right then this line: mail.Cc will carbon copy a recipient, and mail.Bcc will blind them. If a comma is inserted, then it should send it to each email addy.

Mac

Michael Anthony

5:45 am on Aug 30, 2003 (gmt 0)



I achieve this by simply having outlook forward to named recipients, once the form arrives in my inbox. Can't u do that?

mattglet

5:15 pm on Sep 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i might be missing something, but what you are doing sounds a little off the wall. you SHOULD be having a server component (whether it be cdonts, aspmail, etc) sending the mail to the people.

if you aren't familiar with these things, search on google and you'll find all the info you'll ever need.

if you still can't figure it out, or have more questions, feel free to sticky me.

-Matt

ScottM

5:28 pm on Sep 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Same problem here...temp. fix was create an email account for them and then forward it at the server level. Not pretty, but it worked.

fahrside1

6:14 pm on Sep 2, 2003 (gmt 0)

10+ Year Member



Having initiated this topic, let me see if I can clarify. I'm using Frontpage. When I go into 'Form Properties' I can enter the name of an email recipient to receive the data. I would imagine that it's here, that I should be able to enter the name of a 2nd recipient.....

For the dialog box that I'm referring to, you can view the following page on our site:

[gha-nc.org...]

Hope this helps,
Mitch

Lilliabeth

9:29 pm on Sep 2, 2003 (gmt 0)

10+ Year Member



If I were you, I'd post this question on the WYSIWYG and Text Editors forum.

fahrside1

9:31 pm on Sep 2, 2003 (gmt 0)

10+ Year Member



Thanks, probably not a bad suggestion.

mattglet

9:35 pm on Sep 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i just stickyed you with a possible answer i found on google.

-Matt

Mardi_Gras

9:38 pm on Sep 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The server hosting the URL you refer to is running Apache - so you wouldn't be using cdonts or ASP.