[Gambas-user] PDF file
timothy
timothy.marshal-nichols at ...247...
Tue Jul 3 07:49:21 CEST 2007
> Add .alternative = False before any text
> Donnot use a mime type parameter for the text.
>
> btw: I'm using the exact same configuration.
>
> Steven
>
>
I changed the example to:
PUBLIC SUB SendMoreMail()
DIM simpleSmtpClient AS NEW SmtpClient
WITH simpleSmtpClient
.Host = "smtp.myserver.com"
.From = "from mail address"
.Subject = "Test du composant SMTP de Gambas - " & Str(Now)
.Alternative = FALSE
.To.Add("to mail address")
.Add("Demo mail body")
.Send()
END WITH
END
However it made no difference. I still see the message body as an
attachment. Both in MS Outlook and Evolution.
According to the help the default value of Alternative is FALSE anyway.
So this line should not be needed. I had already tried it without the
mime type.
Thanks
8-{)} Timothy Marshal-Nichols
<mailto: timothy.marshal-nichols at ...247...>
More information about the User
mailing list