Results 1 to 4 of 4

Thread: Sending EMail with ASP

  1. #1
    dmartin17
    Guest
    Is there a way to have a asp webpage take information from the page and send an email?

    thanks

  2. #2
    Guest
    I normally use the JMail component to do that.

  3. #3
    Guest
    can you say more about that.

  4. #4
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294
    try this. if you are running iis then it should work.
    Code:
    <%
    Dim objCDO
    Set objCDO = Server.CreateObject("CDONTS.NewMail")
    
    objCDO.To = "[email protected]"
    objCDO.From = "[email protected]"
    objCDO.Importance = 1 '0 - Low, 1 - Normal, 2 - High
    objCDO.Subject = "Hello there"
    objCDO.AttachFile ("c:\MyPictures\new.jpg","new.jpg")
    objCDO.Body = "Hey buddy, whats up for the weekend" 
    objCDO.Send
    
    Set objCDO = NOTHING
    %>

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