html in e-mail

jeo

Registered User.
Local time
Today, 02:01
Joined
Dec 26, 2002
Messages
299
I have a form where you click a button to send an e-mail with the information on that form.
What I'm wondering if there is a way to use html tags for bolding and undelining things within vb code for sending that e-mail.
Here is an example:
EmailBody = EmailBody & "Desired Start Date: " & Forms!frmRequest!DesiredDateRangeStart & vbCrLf
I would like the Desired Start Date to be bold, is this at all possible?
Thanks.
 
EmailBody = EmailBody & "Desired Start Date: <b>" & Forms!frmRequest!DesiredDateRangeStart & "</b>" &vbCrLf

so long as the recipient uses HTML to read their email, this should work.
 
Sorry to ask, but what does this mean?
"so long as the recipient uses HTML to read their email"
What do you mean by recipient uses HTML?
I'm not sure.
Thank you
 
some email clients can choose to read their email in HTML, RTF or PLAIN TEXT.
If the recipents email client is not set up to read email as HTML, then it will not display as intended by you.
 
Last edited:
That makes more sense, thanks.
 

Users who are viewing this thread

Back
Top Bottom