Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Insert Field into Body of E-mail?

0 views
Skip to first unread message

ctc

unread,
May 3, 2008, 8:31:00 AM5/3/08
to
Is it possible to insert fields into the body of an e-mail that would
automatically display the contents of the "To" and the "Subject" fields?

F.H. Muffman

unread,
May 3, 2008, 12:14:23 PM5/3/08
to
> Is it possible to insert fields into the body of an e-mail that would
> automatically display the contents of the "To" and the "Subject"
> fields?

Not out of the box, but I don't see why you couldn't write a little code
to do it, should be easy enough, just to have Outlook check for a certain
string within an email message when sending and, if present, replace it with
the data you want to replace it with, but, one has to ask, why? I've yet
to see a mail client that doesn't display the subject and the To field, why
do you need them added to the body of the message as well?

--
-f.h.


ctc

unread,
May 4, 2008, 8:30:01 AM5/4/08
to
The internet fax provider that I am using does not have a working fax cover
page feature when the message is sent via an email client such as outlook.
But their service does send the body of the message (not the To: or the
Subject: fields) as the first page. So If I could create a "Quick Part" with
all of the standard cover page text, graphics, and 2 fields which
automatically adds the contents of the To: and the Subject: fields that just
might work for me.

Can you please recommend where I could find information on this "code" that
you refer to?

F.H. Muffman

unread,
May 4, 2008, 4:15:15 PM5/4/08
to
>>> Is it possible to insert fields into the body of an e-mail that
>>> would automatically display the contents of the "To" and the
>>> "Subject" fields?
>>>
>> Not out of the box, but I don't see why you couldn't write a little
>> code to do it, should be easy enough, just to have Outlook check for
>> a certain string within an email message when sending and, if
>> present, replace it with the data you want to replace it with, but,
>> one has to ask, why? I've yet to see a mail client that doesn't
>> display the subject and the To field, why do you need them added to
>> the body of the message as well?
>
> The internet fax provider that I am using does not have a working fax
> cover page feature when the message is sent via an email client such
> as outlook. But their service does send the body of the message (not
> the To: or the Subject: fields) as the first page. So If I could
> create a "Quick Part" with all of the standard cover page text,
> graphics, and 2 fields which automatically adds the contents of the
> To: and the Subject: fields that just might work for me.
>
> Can you please recommend where I could find information on this "code"
> that you refer to?

Personally, I'd find a different service, but, you'd do something like http://www.outlookcode.com/codedetail.aspx?id=1278
and change the code around.

I mean, you could build a quickpart that includes the 'to be replaced' text
and then, with the code, replace the 'to be replaced' text if you're sending
to the domain of the fax service.

If you're not comfortable writing code, you'll probably want to hit either
microsoft.public.outlook.program_vba or http://www.outlookcode.com for some
more explicit handholding.

--
-f.h.


0 new messages