To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82660
Issue #|82660
Summary|Not possible to attach two mails under Unix with Simpl
|eCommandMail
Component|framework
Version|OOo 2.3
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|tm
Reported by|pagalmes
------- Additional comments from [EMAIL PROTECTED] Tue Oct 16 11:47:25 +0000
2007 -------
Following cn recommandation, I create a new issue about this problem (see issue
35994).
In the code sample below (Linux, OOo 2.0.1), only one of the 2 files will be
attached to the mail. This has an impact for extension developers, resulting in
extexsions not independant from the OS (works on Windows, not on linux,
Solaris...).
As issue 68596 is being corrected for 2.4, maybe this one could be also
processed.
Sub Main
print "Start"
' oServiceMail =
createUnoService("com.sun.star.system.SimpleCommandMail")
oServiceMail = createUnoService("com.sun.star.system.SimpleCommandMail")
if isNull( oServiceMail ) then
print "Null"
else
print "Not Null"
end if
oMail = oServiceMail.querySimpleMailClient()
oMessage=oMail.createsimplemailmessage()
URL1 = "/home/pagalmes/cdcatalog.xml"
URL2 = "/home/pagalmes/devdays.pdf"
Dim files(2) As Variant
files( 0 ) = ConvertToURL( URL1 )
files( 1 ) = ConvertToURL( URL2 )
oMessage.setAttachement( files() )
oMail.sendSimpleMailMessage( oMessage, 0)
print "End"
End Sub
The created mail (kmail show up) contain *only 1* attached file.
SimpleSystemMail (Windows 2.0.1) works fine with the same source code.
I tried it also on a Linux Fedora Core 4, with OOo 2.0.1 and 2.0.2 and can
confirm this problem.
How can we attach more than 1 file to a mail on Linux ?
Note : There is a bug with Thunderbird 1.5 (not due to OOo)
---------------------------------------------------------------------
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]