Jump to content

TextStyleAdd in a Send Mail script


adyf
 Share

This topic is 2841 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm having trouble getting the below text in a send mail script being shown as bold and italic. The relevant part of the calculation is below:

 

TextStyleAdd ("Please would you send me an updated ETDL Complementary Certificate (hard and electronic copy) for the candidate as follows:" & "¶¶" & "Issue Date:" & " " & Course::Course Start Date & "¶¶" & "Expiry Date:" & " " & Date ( Month (Course::Course Start Date) ; Day (Course::Course Start Date) ; Year (Course::Course Start Date) + 2); Bold + Italic)

 

I'm sure it's down to one of two things. Either the above calculation is incorrect or it could be that the email generated is in plain text format, even though my MS Outlook settings are set to compose messages in HTML format.

 

Could someone shed some light please?

Link to comment
Share on other sites

TextStyleAdd only applies formatting to fields  - and it's not html formatting. To use formatting in an email (html formatting), you need to look at GetAsCSS - and apply styles.

 

there are some examples in this forum - do a search for GetAsCSS and you should find them.

 

hth,

Martie

Link to comment
Share on other sites

This topic is 2841 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.