Discussion:
PDF als anhang an word serienmail
(too old to reply)
E.Zenker
2005-04-05 11:29:23 UTC
Permalink
ich möchte ein pdf als Anlage an ein Word Serienmail anhängen.
Im Internet findet man die Aussage, dass das nicht möglich ist.
Kann das sein?
Gibt es ein Addin oder irgendein anderes Programm, mit dem man die in Word
vorbereitete Serienmail mit Anhang verschicken kann.
Ich verwende Word XP und Outlook XP als Mailprogramm.

Vielen Dank für rasche Rückantwort.
E. Zenker
Peter Jamieson
2005-04-05 13:42:39 UTC
Permalink
See

http://word.mvps.org/faqs/mailmerge/MergeWithAttachments.htm

Peter Jamieson
Post by E.Zenker
ich möchte ein pdf als Anlage an ein Word Serienmail anhängen.
Im Internet findet man die Aussage, dass das nicht möglich ist.
Kann das sein?
Gibt es ein Addin oder irgendein anderes Programm, mit dem man die in Word
vorbereitete Serienmail mit Anhang verschicken kann.
Ich verwende Word XP und Outlook XP als Mailprogramm.
Vielen Dank für rasche Rückantwort.
E. Zenker
E.Zenker
2005-04-12 14:30:28 UTC
Permalink
Thanks

is it posible to do this alsi with a dokument containing Grafiks and
formated text.

I tried HTMLBODY like this:
.Subject = mysubject
.HTMLBody = ActiveDocument.Content

Set Datarange = Maillist.Tables(1).Cell(Counter, 1).Range

Datarange.End = Datarange.End - 1

.To = Datarange

For i = 2 To Maillist.Tables(1).Columns.Count

Set Datarange = Maillist.Tables(1).Cell(Counter, i).Range

Datarange.End = Datarange.End - 1

.Attachments.Add Trim(Datarange.Text), olByValue, 1

Next i
.Send

but there are no grafik and formated text in the mailbody what is wrong??

Please Help
Post by Peter Jamieson
See
http://word.mvps.org/faqs/mailmerge/MergeWithAttachments.htm
Peter Jamieson
Post by E.Zenker
ich möchte ein pdf als Anlage an ein Word Serienmail anhängen.
Im Internet findet man die Aussage, dass das nicht möglich ist.
Kann das sein?
Gibt es ein Addin oder irgendein anderes Programm, mit dem man die in Word
vorbereitete Serienmail mit Anhang verschicken kann.
Ich verwende Word XP und Outlook XP als Mailprogramm.
Vielen Dank für rasche Rückantwort.
E. Zenker
Peter Jamieson
2005-04-12 16:29:14 UTC
Permalink
I don't think so, but I don't really know.

I saw your other messages and looked at the object model. I think there are
at least the following problems:
a. adding attachments can alter the format of the message anyway (I think)
b. according to the Outlook object model documentation, the thing you
assign to .HTMLBody should be HTML text. I do not think
ActiveDocument.Content or any other Word range will return this, so you will
probably need to save the document as HTML first, then copy its text to a
string buffer, then assign that to .HTMLBody. I haven't tried this so am not
sure. However, the problem with that is that HTML does not actually contain
images, only links to images. So I do not think you will be able to put
image data in a message body using this technique.

Peter Jamieson
Post by E.Zenker
Thanks
is it posible to do this alsi with a dokument containing Grafiks and
formated text.
.Subject = mysubject
.HTMLBody = ActiveDocument.Content
Set Datarange = Maillist.Tables(1).Cell(Counter, 1).Range
Datarange.End = Datarange.End - 1
.To = Datarange
For i = 2 To Maillist.Tables(1).Columns.Count
Set Datarange = Maillist.Tables(1).Cell(Counter, i).Range
Datarange.End = Datarange.End - 1
.Attachments.Add Trim(Datarange.Text), olByValue, 1
Next i
.Send
but there are no grafik and formated text in the mailbody what is wrong??
Please Help
Post by Peter Jamieson
See
http://word.mvps.org/faqs/mailmerge/MergeWithAttachments.htm
Peter Jamieson
Post by E.Zenker
ich möchte ein pdf als Anlage an ein Word Serienmail anhängen.
Im Internet findet man die Aussage, dass das nicht möglich ist.
Kann das sein?
Gibt es ein Addin oder irgendein anderes Programm, mit dem man die in Word
vorbereitete Serienmail mit Anhang verschicken kann.
Ich verwende Word XP und Outlook XP als Mailprogramm.
Vielen Dank für rasche Rückantwort.
E. Zenker
E.Zenker
2005-04-12 17:17:14 UTC
Permalink
Thank you for your reply,

If I am sending a mail merge per email (without attachments) the picture and
the formatted text is transported without problem to the outlook mail body
by word.
So it should be possible to do the same with a macro to add also
attachments.

By the way does word 2003 supports sending mail merge with attachments.

Thank you.
E. Zenker
Post by Peter Jamieson
I don't think so, but I don't really know.
I saw your other messages and looked at the object model. I think there
a. adding attachments can alter the format of the message anyway (I think)
b. according to the Outlook object model documentation, the thing you
assign to .HTMLBody should be HTML text. I do not think
ActiveDocument.Content or any other Word range will return this, so you
will probably need to save the document as HTML first, then copy its text
to a string buffer, then assign that to .HTMLBody. I haven't tried this so
am not sure. However, the problem with that is that HTML does not actually
contain images, only links to images. So I do not think you will be able
to put image data in a message body using this technique.
Peter Jamieson
Post by E.Zenker
Thanks
is it posible to do this alsi with a dokument containing Grafiks and
formated text.
.Subject = mysubject
.HTMLBody = ActiveDocument.Content
Set Datarange = Maillist.Tables(1).Cell(Counter, 1).Range
Datarange.End = Datarange.End - 1
.To = Datarange
For i = 2 To Maillist.Tables(1).Columns.Count
Set Datarange = Maillist.Tables(1).Cell(Counter, i).Range
Datarange.End = Datarange.End - 1
.Attachments.Add Trim(Datarange.Text), olByValue, 1
Next i
.Send
but there are no grafik and formated text in the mailbody what is wrong??
Please Help
Post by Peter Jamieson
See
http://word.mvps.org/faqs/mailmerge/MergeWithAttachments.htm
Peter Jamieson
Post by E.Zenker
ich möchte ein pdf als Anlage an ein Word Serienmail anhängen.
Im Internet findet man die Aussage, dass das nicht möglich ist.
Kann das sein?
Gibt es ein Addin oder irgendein anderes Programm, mit dem man die in Word
vorbereitete Serienmail mit Anhang verschicken kann.
Ich verwende Word XP und Outlook XP als Mailprogramm.
Vielen Dank für rasche Rückantwort.
E. Zenker
Peter Jamieson
2005-04-12 18:51:05 UTC
Permalink
Post by E.Zenker
If I am sending a mail merge per email (without attachments) the picture
and the formatted text is transported without problem to the outlook mail
body by word.
I know, but I think that is because Word uses techniques which I do not
believe are available through its automation methods. But I may be wrong of
course!
Post by E.Zenker
By the way does word 2003 supports sending mail merge with attachments.
No, it is the same as Word 2002 in this respect.

Peter Jamieson
Post by E.Zenker
Thank you for your reply,
If I am sending a mail merge per email (without attachments) the picture
and the formatted text is transported without problem to the outlook mail
body by word.
So it should be possible to do the same with a macro to add also
attachments.
By the way does word 2003 supports sending mail merge with attachments.
Thank you.
E. Zenker
Post by Peter Jamieson
I don't think so, but I don't really know.
I saw your other messages and looked at the object model. I think there
a. adding attachments can alter the format of the message anyway (I think)
b. according to the Outlook object model documentation, the thing you
assign to .HTMLBody should be HTML text. I do not think
ActiveDocument.Content or any other Word range will return this, so you
will probably need to save the document as HTML first, then copy its text
to a string buffer, then assign that to .HTMLBody. I haven't tried this
so am not sure. However, the problem with that is that HTML does not
actually contain images, only links to images. So I do not think you will
be able to put image data in a message body using this technique.
Peter Jamieson
Post by E.Zenker
Thanks
is it posible to do this alsi with a dokument containing Grafiks and
formated text.
.Subject = mysubject
.HTMLBody = ActiveDocument.Content
Set Datarange = Maillist.Tables(1).Cell(Counter, 1).Range
Datarange.End = Datarange.End - 1
.To = Datarange
For i = 2 To Maillist.Tables(1).Columns.Count
Set Datarange = Maillist.Tables(1).Cell(Counter, i).Range
Datarange.End = Datarange.End - 1
.Attachments.Add Trim(Datarange.Text), olByValue, 1
Next i
.Send
but there are no grafik and formated text in the mailbody what is wrong??
Please Help
Post by Peter Jamieson
See
http://word.mvps.org/faqs/mailmerge/MergeWithAttachments.htm
Peter Jamieson
Post by E.Zenker
ich möchte ein pdf als Anlage an ein Word Serienmail anhängen.
Im Internet findet man die Aussage, dass das nicht möglich ist.
Kann das sein?
Gibt es ein Addin oder irgendein anderes Programm, mit dem man die in Word
vorbereitete Serienmail mit Anhang verschicken kann.
Ich verwende Word XP und Outlook XP als Mailprogramm.
Vielen Dank für rasche Rückantwort.
E. Zenker
Graham
2005-06-07 11:57:08 UTC
Permalink
I've sent a formatted Word document including graphics in an email body and
it arrives exactly as sent. However if I try and mailmerge to email using
exactly the same document and email address, the email arrives as plain text
, without any graphics. I assume the automation process removes the Word
formatting?
Post by Peter Jamieson
Post by E.Zenker
If I am sending a mail merge per email (without attachments) the picture
and the formatted text is transported without problem to the outlook mail
body by word.
I know, but I think that is because Word uses techniques which I do not
believe are available through its automation methods. But I may be wrong of
course!
Post by E.Zenker
By the way does word 2003 supports sending mail merge with attachments.
No, it is the same as Word 2002 in this respect.
Peter Jamieson
Post by E.Zenker
Thank you for your reply,
If I am sending a mail merge per email (without attachments) the picture
and the formatted text is transported without problem to the outlook mail
body by word.
So it should be possible to do the same with a macro to add also
attachments.
By the way does word 2003 supports sending mail merge with attachments.
Thank you.
E. Zenker
Post by Peter Jamieson
I don't think so, but I don't really know.
I saw your other messages and looked at the object model. I think there
a. adding attachments can alter the format of the message anyway (I think)
b. according to the Outlook object model documentation, the thing you
assign to .HTMLBody should be HTML text. I do not think
ActiveDocument.Content or any other Word range will return this, so you
will probably need to save the document as HTML first, then copy its text
to a string buffer, then assign that to .HTMLBody. I haven't tried this
so am not sure. However, the problem with that is that HTML does not
actually contain images, only links to images. So I do not think you will
be able to put image data in a message body using this technique.
Peter Jamieson
Post by E.Zenker
Thanks
is it posible to do this alsi with a dokument containing Grafiks and
formated text.
.Subject = mysubject
.HTMLBody = ActiveDocument.Content
Set Datarange = Maillist.Tables(1).Cell(Counter, 1).Range
Datarange.End = Datarange.End - 1
.To = Datarange
For i = 2 To Maillist.Tables(1).Columns.Count
Set Datarange = Maillist.Tables(1).Cell(Counter, i).Range
Datarange.End = Datarange.End - 1
.Attachments.Add Trim(Datarange.Text), olByValue, 1
Next i
.Send
but there are no grafik and formated text in the mailbody what is wrong??
Please Help
Post by Peter Jamieson
See
http://word.mvps.org/faqs/mailmerge/MergeWithAttachments.htm
Peter Jamieson
Post by E.Zenker
ich möchte ein pdf als Anlage an ein Word Serienmail anhängen.
Im Internet findet man die Aussage, dass das nicht möglich ist.
Kann das sein?
Gibt es ein Addin oder irgendein anderes Programm, mit dem man die in Word
vorbereitete Serienmail mit Anhang verschicken kann.
Ich verwende Word XP und Outlook XP als Mailprogramm.
Vielen Dank für rasche Rückantwort.
E. Zenker
Peter Jamieson
2005-06-08 09:41:53 UTC
Permalink
Yes, the options are:
a. your mail merge main document (with field values substituted) is
converted to plain text in the body of the message
b. your mail merge main document (with field values substituted) is
inserted as an attachment and the body of the message is blank
c. your mail merge main document (with field values substituted) is sent as
an HTML message. however, this option is only available from Word 2002 and
later, practically speaking it only seems to be available with Outlook, and
even that may not work on some systems.

Peter Jamieson
Post by Graham
I've sent a formatted Word document including graphics in an email body and
it arrives exactly as sent. However if I try and mailmerge to email using
exactly the same document and email address, the email arrives as plain text
, without any graphics. I assume the automation process removes the Word
formatting?
Post by Peter Jamieson
Post by E.Zenker
If I am sending a mail merge per email (without attachments) the picture
and the formatted text is transported without problem to the outlook mail
body by word.
I know, but I think that is because Word uses techniques which I do not
believe are available through its automation methods. But I may be wrong of
course!
Post by E.Zenker
By the way does word 2003 supports sending mail merge with attachments.
No, it is the same as Word 2002 in this respect.
Peter Jamieson
Post by E.Zenker
Thank you for your reply,
If I am sending a mail merge per email (without attachments) the picture
and the formatted text is transported without problem to the outlook mail
body by word.
So it should be possible to do the same with a macro to add also
attachments.
By the way does word 2003 supports sending mail merge with attachments.
Thank you.
E. Zenker
Post by Peter Jamieson
I don't think so, but I don't really know.
I saw your other messages and looked at the object model. I think there
a. adding attachments can alter the format of the message anyway (I think)
b. according to the Outlook object model documentation, the thing you
assign to .HTMLBody should be HTML text. I do not think
ActiveDocument.Content or any other Word range will return this, so you
will probably need to save the document as HTML first, then copy its text
to a string buffer, then assign that to .HTMLBody. I haven't tried this
so am not sure. However, the problem with that is that HTML does not
actually contain images, only links to images. So I do not think you will
be able to put image data in a message body using this technique.
Peter Jamieson
Post by E.Zenker
Thanks
is it posible to do this alsi with a dokument containing Grafiks and
formated text.
.Subject = mysubject
.HTMLBody = ActiveDocument.Content
Set Datarange = Maillist.Tables(1).Cell(Counter, 1).Range
Datarange.End = Datarange.End - 1
.To = Datarange
For i = 2 To Maillist.Tables(1).Columns.Count
Set Datarange = Maillist.Tables(1).Cell(Counter, i).Range
Datarange.End = Datarange.End - 1
.Attachments.Add Trim(Datarange.Text), olByValue, 1
Next i
.Send
but there are no grafik and formated text in the mailbody what is wrong??
Please Help
Post by Peter Jamieson
See
http://word.mvps.org/faqs/mailmerge/MergeWithAttachments.htm
Peter Jamieson
Post by E.Zenker
ich möchte ein pdf als Anlage an ein Word Serienmail anhängen.
Im Internet findet man die Aussage, dass das nicht möglich ist.
Kann das sein?
Gibt es ein Addin oder irgendein anderes Programm, mit dem man die
in
Word
vorbereitete Serienmail mit Anhang verschicken kann.
Ich verwende Word XP und Outlook XP als Mailprogramm.
Vielen Dank für rasche Rückantwort.
E. Zenker
Loading...