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 > email.....

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-04, 21:22
fisya fisya is offline
Registered User
 
Join Date: Mar 2004
Posts: 53
email.....

i'm now doing system for maintenance....the purpose of this sytem is user can use it to send their report to maintenance office.
after the bos of the maintenance got the report he/she will assign this job to his/her staff.what i want to do is when he/she key in the name of the staff and click button ok.....system will automatically send an e-mail to the staff to inform them about the job.

the problem is.....i don't know how to do this.
can somebody help me........
Reply With Quote
  #2 (permalink)  
Old 05-13-04, 10:22
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Look up ASPMail
http://www.serverobjects.com

If you don't want to purchase software, you can try usin CDONTS, but I don't much care for it. Google CDONTS, and you'll find plenty of examples. I highly recommend ASPMail though. It's all I use in all of my implementations.
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 05-13-04, 11:44
gyuan gyuan is offline
Registered User
 
Join Date: Dec 2003
Posts: 454
Sub SendEmail(from, to, subject, msg)
Dim objMail
Set objMail = CreateObject( "CDONTS.Newmail" )
objMail.From = from
objMail.To = to
objMail.Subject = subject
objMail.Body = msg
objMail.Send
Set objMail = Nothing
End Sub
Reply With Quote
  #4 (permalink)  
Old 05-13-04, 12:11
ASP-Hosting.ca ASP-Hosting.ca is offline
Registered User
 
Join Date: Apr 2004
Posts: 50
CDONTS is obsolete component and it's better to use CDOSYS to send an email from an ASP page.
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