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