If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > send e-mail via outlook

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-05-06, 14:17
justme:-) justme:-) is offline
Registered User
 
Join Date: Oct 2004
Posts: 105
Question send e-mail via outlook

hi all,
i have a problem
on a webpage i make the user enter some data.
i then want to send this entered data via outlook e-mail
does somebody know how i can do that?
im totally clueless on this one
thanks so much for help
Reply With Quote
  #2 (permalink)  
Old 01-05-06, 16:41
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Why specifically via outlook, do you want it to be kept in the sent items box or something???

I imagine that with a lot of work your could probably get it to happen but the effort involved probably outweighs the value.

Why not just send the email using CDNOTS or ASP.Mail or something similar?
Reply With Quote
  #3 (permalink)  
Old 01-05-06, 16:50
justme:-) justme:-) is offline
Registered User
 
Join Date: Oct 2004
Posts: 105
hi thanks for your answer
outlook was just my first idea
if CDNOTS or ASP.Mail works then that would be great too as long as i can send the information with it
do you know how i can do that?
thanks a lot
Reply With Quote
  #4 (permalink)  
Old 01-05-06, 16:56
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
here's an example,.. should be working... http://www.dbforums.com/t1043224.html

You could also do a google search, there are probably a million or so "how-to's" on this one
Reply With Quote
  #5 (permalink)  
Old 01-05-06, 17:49
justme:-) justme:-) is offline
Registered User
 
Join Date: Oct 2004
Posts: 105
yes i have been searching the forum but i dont really get it
so that means i just do this? :


and above i enter a line for what scriptlanguage it is?
would that be vbscript here?

Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "rob@tconsult.com"
objMail.Subject = "How TO send email with CDONTS"
objMail.To = "someone@someplace.com"
objMail.Body = "This is an email message" & vbcrlf&_
"with CDONTS." & vbcrlf&_
"It is really easy. "
objMail.Send
set objMail = nothing

sorry im just new to this

Last edited by justme:-); 01-05-06 at 17:51.
Reply With Quote
  #6 (permalink)  
Old 01-05-06, 17:52
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Yeah, above that code snippet you have your language declarations as you normally would at the start of your page...

Yup, it's standard VBScript there.

I am assuming that you have not done much ASP stuff at all at this point... if that is the case sending emails might be biting off more then you can chew...
Reply With Quote
  #7 (permalink)  
Old 01-05-06, 18:13
justme:-) justme:-) is offline
Registered User
 
Join Date: Oct 2004
Posts: 105
no none at all so far
does that mean i have to do other things too, than just putting in that code?

Last edited by justme:-); 01-05-06 at 18:18.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On