Android Question Send formatted text in email

le_toubib

Active Member
Licensed User
Longtime User
Hi all
I'm using Smtp , sending pain text ( not statement) , but I'd like to set a left margin to that text .
Probably also to set done of it as bold .
Where do I start?
 
Create a html mail instead of plaintext
 
Upvote 0
Hi all
I'm using Smtp , sending pain text ( not statement) , but I'd like to set a left margin to that text .
Probably also to set done of it as bold .
Where do I start?

Hi,

try this :

Code: Copy
Dim oSMTP As SMTP
    oSMTP.HtmlBody = True
    oSMTP.Body = "<span style='margin-left: 10px;'>Hello, <b>Bold Text</b></span>"
    ...
    oSMTP.Send
 
Upvote 0
Back
Top