Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

keeping a long hyperlink intact in email message 2

Status
Not open for further replies.

lobstah

Programmer
May 14, 2001
384
US
Hi,
I'm trying to create and send a text formatted email message using CDONTS in ASP with some very long URLs as hyperlinks. However, when I receive the message, the URL wraps to a new line and the second line is no longer part of the hyperlink but now is just plain text. I have received an email message from a mailing list that is plain text formatted and keeps the links intact over multiple lines, so I know it can be done, just don't know how.
Anybody out there know how to do this?
Thanks!
 
not using CDONTS, but using ASPEmail, the URL stays intact, even in a text-formatted email.

so, for that and other issues, we're starting to move over to ASPEmail.
 
I now it's been a while since this thread has been "active" but I've been searching and searching for the answer to this problem and FINALLY found it. So I thought I'd post what I found so when others search for this problem and get this thread hopefully this post might help them!

When using CDONTS to send text, I've found it breaks your URL in the email after 75 characters, which I'm sure you know or you probably wouldn't be here. This can be avoided if you set
objMail.MailFormat = 0
I just put this line after my
Set objMail = Server.CreateObject("CDONTS.NewMail")
Hope this can help other people from having to search hours for the answer!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top