This topic is locked

url and mailto formatting in email message=

7/26/2007 7:32:48 PM
ASPRunnerPro General questions
bnphillips author

Using the simple or new data email selection in the events section I am unable to solve the formating for url(s) or mailto(s)
e.g.
message ="Now is the time when all good men should come to the aid of their party" "Now is the time when all good men should come to the aid of their party" "Now is the time when all good men should come to the aid of their party"
I would like to add a url or mailto in between the above text statements.
Could someone please advise me the coding for adding <a href="http://www.anyplace.com">Support Anywhere</a> or <a href="mailto:myemail@email.com">Email Support</a>
Also how and where would I add the coding for placing the above urls and mailto if I wanted them to follow after the new data added section of the "send new data email" section of events
thank you in advance

bnp

Sergey Kornilov admin 7/27/2007

Try something like this:

message ="Now is the time when all good men should come to the aid of their party"

message = message & "<a href='http://www.anyplace.com'>Support Anywhere</a>"

message = message & "Now is the time when all good men should come to the aid of their party"

message = message & "<a href='mailto:myemail@email.com'>Email Support</a>"

message = message & "Now is the time when all good men should come to the aid of their party"
bnphillips author 7/27/2007

Try something like this:


message ="Now is the time when all good men should come to the aid of their party"

message = message & "<a href='http://www.anyplace.com'>Support Anywhere</a>"

message = message & "Now is the time when all good men should come to the aid of their party"

message = message & "<a href='mailto:myemail@email.com'>Email Support</a>"

message = message & "Now is the time when all good men should come to the aid of their party"


Thank so much...... I now have it working. I am sure this may be painful to you. But....
this code;

message = message & "<a href='http://www.anyplace.com'>Support'>http://www.anyplace.com'>Support'>http://www.anyplace.com'>Support'>http://www.anyplace.com'>Support Anywhere</a>"
is delivering the following in the email:
<a href='http://www.anyplace.com'>Support'>http://www.anyplace.com'>Support'>http://www.anyplace.com'>Support'>http://www.anyplace.com'>Support Anywhere</a>
Support Anywhere[/u]" to be underlined as the hyperlink and not have the <a href='http://www.anyplace.com appear as "text" in the email. As you may guess the 'mailto:" behaves the same way. Any suggestions here would be appreciated.
thank you for your attention

-bnp

Sergey Kornilov admin 7/28/2007

Bruce,
it looks like you need to send HTML email.

Check the following link for more info:

http://www.paulsadowski.com/WSH/cdo.htm