To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83862
Issue #|83862
Summary|MailMerge controlled by API does not send all email
Component|Word processor
Version|OOo 2.3
Platform|All
URL|
OS/Version|Windows XP
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|programming
Assigned to|mru
Reported by|mprochnow
------- Additional comments from [EMAIL PROTECTED] Thu Nov 22 12:42:41 +0000
2007 -------
Im using a VBScript to start MailMerge for sending documents as PDF attachment
by email. Here the code excerpt:
pdftemplate="file:///" & replace(pdftemplate,"\","/")
Set ServiceManager=CreateObject("com.sun.star.ServiceManager")
Set MailMerge=ServiceManager.createInstance("com.sun.star.text.MailMerge")
MailMerge.DocumentURL=pdftemplate
MailMerge.DataSourceName="Adressen"
MailMerge.CommandType=0
MailMerge.Command="adressen"
MailMerge.OutputType=3
MailMerge.AddressFromColumn="EMail"
MailMerge.Subject="Subject"
MailMerge.MailBody="... some text..."
MailMerge.SendAsHTML=0
MailMerge.SendAsAttachment=1
MailMerge.AttachmentName="Attachment.pdf"
MailMerge.AttachmentFilter="writer_pdf_Export"
Dim noProps()
MailMerge.execute(noProps)
MailMerge.dispose()
Data source is a csv file, containing 104 data fields (but only some of them are
used in the OO Writer template). I started a test with five entries, OO wasn't
started, and only the first two entries were proceeded. Is OO Writer started,
the first three entries will be proceeded. If I open several OO Writer windows,
all five entries will be proceeded. I watched the communication with the mail
server, it seems that there is all fine.
---------------------------------------------------------------------
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]