Asp mail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gowthamkg
    New Member
    • Sep 2008
    • 23

    Asp mail

    Hi,

    Im wrtiting asp code sending confirmation email after registration ..in that how to send an link of an url using cdosys?Please provide details about this

    Thanks in advance...
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    How are you making the body of the email? with cdo.HTMLBody?
    Code:
    <%
    Set myMail=CreateObject("CDO.Message")
    myMail.Subject="Sending email with CDO"
    myMail.From="mymail@mydomain.com"
    myMail.To="someone@somedomain.com"
    dim q
    q = chr(34)
    myMail.HTMLBody = "<h1>This is a message.</h1><br><a href=" & q & "http://www.mylink.com" & q & ">Click Here</a>"
    myMail.Send
    set myMail=nothing
    %>
    (code snippet from w3schools.com , modified slightly to include link)

    Jared

    Comment

    Working...