This is a discussion on "mailto email function" within the Classic ASP section. This forum, and the thread "mailto email function are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
mailto email function
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
mailto email function
what i want to do is..
in my page, i have 6 textbox field: name, id, <span style="color:red">email</span id="red">, age and bookingStatus, bookingMessage. when i click a button in the page, the ms outlook will opened, and all the information in the field will be displayed in the ms outlook before i send the email. I want to use the "mailto" code! The address of the email will be get from the <span style="color:red">email field</span id="red"> in my form! The subject of the email will be: BOOKING STATUS and the message will be: get form the bookingMessage field in my form Anybody can help me please
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|
|
#2
|
|||
|
|||
|
wow, i dont think this is possible?? :sad:
|
|
#3
|
||||
|
||||
|
This is completely possible, but why on earth would you want to use the visitors email application?
Why not have your webserver send the email. If you need example code, search these forums for 'CDONTS'
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#4
|
|||
|
|||
|
yes i know about the CDONTS but i would like to try using the MAILTO code,
When i use cdonts, it will automatically send all the info to the email specified, right? What i want, when the admin click the mailto button, it will open ms outlook, and all the info will be displays in the body of the email before he or she click the send button in the email. view them first...before send them you said it is posible... can you teach me how? Actually i have tried to use cdonts, but then it require a configuration on the email server that i dont know much. So i plan to use a simple email function using mailto: something like this... <a href='mailto:from recordset?subject=BOOKING STATUS&body=from the field of my form>Mail</a> But instead of specifying the email in the mailto, i want to capture the email address from my recordset, as well as the body of my email. Let say i want to send all the field content(in my form) to the body of my email...Name, Age, ID NO.... can i put them in the &body?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#5
|
|||
|
|||
|
Monie, Rob said he can help you, but asked why you wanted to do it this way. Not only are you directly revealing your e-mail address to the many e-mail harvesting bots out there, but you simply have more control when you send e-mail via a server side script.
|
|
#6
|
|||
|
|||
|
actually, this system will only be available INTRANET, locally in the IT DEPARTMENT.
<a href='mailto:<%=myemailfield%>?subject=BOOKING STATUS&body=<%=namefield%><%=agefield%><%=IDfield%><%=addressf ield%>>Mail</a> I just want to know Can i capture the email from my recordset and make it the email value in the mailto:" " and also Can i put many recordset in the &body??? I just want to know that please guide me
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#7
|
||||
|
||||
|
Hi Monie.
What you really need to do is this:-
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| mailto, email, function |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mailto with cc included | rubyfruit | Web Page Design | 2 | Sep 5th, 2006 13:38 |
| mailto and IE6 | Don Logan | Web Page Design | 12 | Apr 30th, 2006 16:48 |
| Can you specify a subject with #mailto: | Ivy_58201 | Web Page Design | 2 | Mar 13th, 2006 15:49 |
| mailto function | Monie | JavaScript Forum | 6 | Sep 28th, 2004 15:16 |
| Mailto: | Physt | Flash & Multimedia Forum | 1 | Jul 22nd, 2004 14:00 |