To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82660
User paolomantovani changed the following:
What |Old value |New value
================================================================================
CC|'cornouws,hi,manens,mci' |'cornouws,hi,manens,mci,pa
| |olomantovani'
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Sun Jul 19
22:49:10 +0000 2009 -------
The same problem affects also CcRecipient and BccRecipient.
Please, consider the code below (tested in Ubuntu 9.04 / OpenOffice.org 3.1
(OOO310m11 build:9399)
In the created mail message, the cc, bcc and attachment fields contains only the
first item of the array passed
sub testmail
'try to obtain a mail service
oMailService = createUnoService("com.sun.star.system.SimpleSystemMail")
If IsNull(oMailService) Then
oMailService =
createUnoService("com.sun.star.system.SimpleCommandMail")
End If
oMailClient = oMailService.querySimpleMailClient()
oMailMessage = oMailClient.createSimpleMailMessage()
url1 = convertToUrl("/home/paolo/test1.txt")
url2 = convertToUrl("/home/paolo/test2.txt")
url3 = convertToUrl("/home/paolo/test3.txt")
With oMailMessage
.Originator = "[email protected]"
.Recipient = "[email protected]"
.Subject = "helo"
.CcRecipient = Array("[email protected]", "[email protected]",
"[email protected]")
.BccRecipient = Array("[email protected]", "[email protected]",
"[email protected]")
.Attachement = Array(url1, url2, url3)
End With
oMailClient.sendSimpleMailMessage( _
oMailMessage,
com.sun.star.system.SimpleMailClientFlags.DEFAULTS)
end sub
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]