Android Question [ Mail Layout ] how can i fix it ?

Waldemar Lima

Active Member
Licensed User
hello eveyrone !

i'm trying send a sample message to my user using smtp server ...

but when i send a " html mail "
gmail's ignore it ...

b4a code >
                Dim s As SMTP
                s.Initialize("", 587, "", "xxxxxxxx", "smtp")
                s.StartTLSMode = True
                s.Sender = "" 'support2 vs support.
                s.Subject = "Welcome aboard capitain !"
                s.HtmlBody = True ' setting html support
                s.Body = $"
                    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
                    <html xmlns="">
                      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                      <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
                    <body style="margin: 0; padding: 0;">
                        Welcome aboard capitain .</br></br>
                        Your login details : </br></br>
                        Email : ${usermail}</br>
                        Password : ${userpass}</br>
                Wait For smtp_MessageSent(Success As Boolean)

screenshot below >

does anyone know how i can improve the email layout?


Licensed User
Longtime User
I would tend to think that gmail is not ignoring your email due to it's format. I think gmail is ignoring your email because it thinks it's spam for some reason.

I translated the middle part of your screen shot and it says "your applicative access data is", but it looks like the full error message was cut off.

Please post an English translation of the full error message so that it might give us ideas of whats going wrong.
Upvote 0