Forums
This topic is locked
Email form using visitors email
Posted 02 Jul 2004 14:46:50
1
has voted
02 Jul 2004 14:46:50 David Maczkowiack posted:
<font face='Arial'> Hi,I am trying to figure out the best way to go about setting up an email form for a webpage that will be for a protest site.
I want to set up a page that allows visitors to send multiple prewritten protest emails to more than one recipient by just inserting their name and email address into an email form and clicking send.
For example once they entered their details and clicked the send button just once, this would trigger 2 or more emails (eg JohnHoward@Canberra and MarkLatham@canberra) with the same text message in the body of the email(eg If you wish to have my vote at the next election then please reconsider your position on the Free Trade Agreement.) to be sent to those recipients using the visitors actual email server.
I have seen this done several years ago but have forgotten how it was done.
Oh yeah, the subject field would be automatically generated for these emails as well.</font id='Arial'>
Replies
Replied 02 Jul 2004 15:01:49
02 Jul 2004 15:01:49 Simon Martin replied:
If it will always go to the same recipients then you could hardcode the TO values and separate them with a , or ;
For sending the emails either write the CDO yourself and use <% request.form("name/email"
%> to populate the FROM fields with - or use the smart mailer extension they kindly wrote for us here.
Sharing knowledge saves valuable time!
Simon
For sending the emails either write the CDO yourself and use <% request.form("name/email"

Sharing knowledge saves valuable time!
Simon
Replied 02 Jul 2004 15:52:30
02 Jul 2004 15:52:30 David Maczkowiack replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
If it will always go to the same recipients then you could hardcode the TO values and separate them with a , or ;
For sending the emails either write the CDO yourself and use <% request.form("name/email"
%> to populate the FROM fields with - or use the smart mailer extension they kindly wrote for us here.
Sharing knowledge saves valuable time!
Simon
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
If it will always go to the same recipients then you could hardcode the TO values and separate them with a , or ;
For sending the emails either write the CDO yourself and use <% request.form("name/email"

Sharing knowledge saves valuable time!
Simon
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 02 Jul 2004 15:55:40
02 Jul 2004 15:55:40 David Maczkowiack replied:
<font face='Arial'>Smartmailer doesnt seem to allow the emails to be sent via the visitors email server and not the sites, what I need is something will use the clients email and not the servers</font id='Arial'>
Replied 02 Jul 2004 16:45:50
02 Jul 2004 16:45:50 Simon Martin replied:
I dont think you can do that then. Using CDO etc would mean that the web server was talking to the exchange server (or whatever) that is configured for use.
The emails would still come from the email address supplied.
If you use the mailto method that will invoke their default email client; you could fill in the TO and SUBJECT fields for the client but they would still need to hit send on their email
Sharing knowledge saves valuable time!
Simon
The emails would still come from the email address supplied.
If you use the mailto method that will invoke their default email client; you could fill in the TO and SUBJECT fields for the client but they would still need to hit send on their email
Sharing knowledge saves valuable time!
Simon
Replied 03 Jul 2004 02:33:15
03 Jul 2004 02:33:15 David Maczkowiack replied:
Thanks
Just been spending the last couple of hours trying to sort out how I can do it with mailto; link. I am having a lot of problems getting the body text to keep its formatting tried enclosing with >p< tags etcerera but doesnt seem to work?
Just been spending the last couple of hours trying to sort out how I can do it with mailto; link. I am having a lot of problems getting the body text to keep its formatting tried enclosing with >p< tags etcerera but doesnt seem to work?
Replied 05 Jul 2004 15:52:32
05 Jul 2004 15:52:32 Simon Martin replied:
The trouble with the mailto is that the formatting options are not as powerful as using CDO. I'm not sure how creatve you can get with the BODY message.
I haven't tried this, but it might work...
You could create your message in html and store it in a variable - then use the variable to populate your BODY. Outlook/Express should handle the html ok but i'm not sure about other clients like hotmail or pegasus
Sharing knowledge saves valuable time!
Simon
I haven't tried this, but it might work...
You could create your message in html and store it in a variable - then use the variable to populate your BODY. Outlook/Express should handle the html ok but i'm not sure about other clients like hotmail or pegasus
Sharing knowledge saves valuable time!
Simon
Replied 06 Jul 2004 11:40:38
06 Jul 2004 11:40:38 David Maczkowiack replied:
I think I will just stick with the mailto option even though I will lose fomatting this way. I just wanted a quick and dirty way of doing it.
Replied 06 Jul 2004 16:15:16
06 Jul 2004 16:15:16 Steven Watson replied:
Check out Bravenet. Here you can customise mail scripts and it uses thier mail server to process the forms. I think you can send CC's and blind CC's from it also.
There's also ASP scripts on Hotscripts that do it too
There's also ASP scripts on Hotscripts that do it too
Replied 06 Jul 2004 16:35:25
06 Jul 2004 16:35:25 David Maczkowiack replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Check out Bravenet. Here you can customise mail scripts and it uses thier mail server to process the forms. I think you can send CC's and blind CC's from it also.
There's also ASP scripts on Hotscripts that do it too
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thanks but no thanks these emails will be going to a govt server and too many emails coming from the same mail server will automatically be classed as spam and further emails would be blocked from that mail servers domain. My solution must use the site visitors email server and not the websites email server .
In short what I need is a client side solution and not website server side which is what bravenet offers
Check out Bravenet. Here you can customise mail scripts and it uses thier mail server to process the forms. I think you can send CC's and blind CC's from it also.
There's also ASP scripts on Hotscripts that do it too
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thanks but no thanks these emails will be going to a govt server and too many emails coming from the same mail server will automatically be classed as spam and further emails would be blocked from that mail servers domain. My solution must use the site visitors email server and not the websites email server .
In short what I need is a client side solution and not website server side which is what bravenet offers