[Libreoffice-bugs] [Bug 135628] SendSimpleMailMessage bodytext ends up as multiple recipients
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 11 11:58:30 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=135628
--- Comment #4 from Zeke <pj at precisionsdetaljer.se> ---
The screenshot was with LO 6.4.5
code:
sub send_email(filepath as String, eMailAdress as String, yourOrderno as
String)
Dim eSubject as String
Dim eMailer as Object
Dim eMailClient as Object
Dim eMessage as Object
eSubject = "Delivery note your order " & yourOrderno
eMailer = createUnoService("com.sun.star.system.SimpleCommandMail")
eMessage = eMailer.createSimpleMailMessage()
eMessage.Recipient = eMailAdress
eMessage.Subject=eSubject
eMessage.Body="Text1" & chr$(10) & "Text2" & chr$(10) & "Text3"
eMessage.Attachement=(Array(convertToUrl(filepath)))
eMailer.sendSimpleMailMessage ( eMessage, _
com.sun.star.system.SimpleMailClientFlags.NO_USER_INTERFACE )
End sub
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200811/15465c0b/attachment.htm>
More information about the Libreoffice-bugs
mailing list