Send URL by email

Results 1 to 2 of 2

Thread: Send URL by email

  1. #1
    Join Date
    Dec 1969

    Default Send URL by email

    Does anybody know how to send an entire page by email...this page is asp which needs to appear in the email body. It is being hosted on Windows 2k server and I am using CDonts...<BR><BR>Dim objMail<BR>Set objMail = Server.CreateObject("CDONTS.NewMail")<BR> <BR> objMail.From = rsEmail("paypal_email")<BR> objMail.Subject = "Your Order"<BR> objMail.BodyFormat = 0 <BR> objMail.MailFormat = 0 <BR> objMail.To = CustomerRS("CustomerEmail")<BR> objMail.Body = http://rsEmail("SYS_URL")&"Email.asp?OrderID="& OrderID & "&CustomerID=" & CustomerID<BR> objMail.Send <BR>set objMail = nothing<BR><BR>Any Ideas on how to create the body from that url...

  2. #2
    Join Date
    Dec 1969

    Default RE: Send URL by email

    I just type the entire thing out in plain text for the objMail.Body.<BR><BR>Use vbCrLf to create carriage returns, two for paragraph breaks.<BR><BR>In this example, the url is passed as plain text. Most e-mail services and programs will automatically convert it to a clickable URL.<BR><BR>objMail.Body = "Here is the URL you requested:" & vbCrLf & "" & vbCrLf & vbCrLf & "Sincerely," & vbCrLf & "Webmaster"

Posting Permissions

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