Forums
This topic is locked
Email an individual with a standard email
Posted 17 Jan 2003 12:34:35
1
has voted
17 Jan 2003 12:34:35 Perry Gascoine posted:
Using the email extension I can email EVERYONE in the database with a standard email. What I need to be able to do is be able to email an individual with a standard email.
I have set up the recordset with a repeat region. The email address is set-up to include the mailto: tag prior to the dynamic data being shown. When previewed in the browser this works fine (ie Outlook is opened and the email address is entered along with any subject.)
How can I then incorporate the standard letter to the individual link?
I tried this line of code - mailto<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle> ?Subject=Enquiry&Body=Yadder line 1<br>Yadder line 2<br>Yadder line 3
But instead of getting line breaks I just get the <BR> tag on the same line.
Any help.......?
Cheers
Perry
....It's only easy if you know the answer
Replies
Replied 27 Jan 2003 17:08:35
27 Jan 2003 17:08:35 Vince Baker replied:
The problem is with the <BR> which is a HTML tag. This would work if the body of your mail was set to <HTML> but you cannot assume that all peoples will be.
To get around this, replace <BR> with VbCrLf (Visual Basic Carriage Return Line feed).
That will do the trick.
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
To get around this, replace <BR> with VbCrLf (Visual Basic Carriage Return Line feed).
That will do the trick.
Regards
Vince
Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting