Results 1 to 4 of 4

Thread: Mail

  1. #1

    Thread Starter
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125

    Mail

    In PHP, there is the Mail function which lets you send a mail through a script. Is it possible to do the same type of thing with ASP, or will it take a lot of self-written code?
    <removed by admin>

  2. #2
    Frenzied Member andreys's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,615
    You have to write some code, but not a lot.
    Check this site 4GuysFromRolla.com

  3. #3
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    Code:
    Dim myMail
    Set myMail = Server.CreateObject ("CDONTS.NewMail")
    myMail.From = "Me"
    myMail.To = "[email protected]"
    myMail.Subject = "dunno?"
    myMail.Body = "Hello"
    myMail.Send
    try this. make sure the SMTP server is set up if your running it localy though.

  4. #4
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    You must have an e-mail component installed though, e.g in the example John gave you, you must have CDONTS installed.
    K i n g s

Posting Permissions

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



Click Here to Expand Forum to Full Width