Results 1 to 4 of 4

Thread: email.....

  1. #1
    Join Date
    Mar 2004
    Posts
    53

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

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

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

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •