PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming How to add a bitmap footer to each outgoing email programmatically

Reply

How to add a bitmap footer to each outgoing email programmatically

 
Thread Tools Rate Thread
Old 11-03-2006, 09:02 AM   #1
=?Utf-8?B?SGVydmUgY2FkaWV1?=
Guest
 
Posts: n/a
Default How to add a bitmap footer to each outgoing email programmatically


Hi ,

I have a process which produces an unique bitmap (time stamped handwritten
authenticated signature)
and I would like to include this signature bitmap to any outgoing email .

So my question is :

where , at which stage ? can I add this bitmap in the mail ( in an Com
add-in structure ) the code needs to be able to add the signature image to
any kind of email wether it HTML RTF or TEXT Only (as attachement in this
case). wether or not word mail is activated as editor.
I was looking to put some code there in thses events in the designer
Private Sub objMailItem_Reply(ByVal Response As Object, Cancel As Boolean)
'
'With objMailItem
'
'.Body
'
'End With
End Sub

Private Sub objMailItem_ReplyAll(ByVal Response As Object, Cancel As Boolean)
'
End Sub

Private Sub objMailItem_Send(Cancel As Boolean)
'
End Sub
but it looks like there is no mean to add the bitmap there or is it a
mistake from me ?
Any help will be very much appreciated
Best regards
  Reply With Quote
Old 13-03-2006, 07:55 AM   #2
Michael Bauer
Guest
 
Posts: n/a
Default Re: How to add a bitmap footer to each outgoing email programmatically

Am Sat, 11 Mar 2006 01:02:26 -0800 schrieb Herve cadieu:

You can use the Application´s ItemSend event.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


> Hi ,
>
> I have a process which produces an unique bitmap (time stamped handwritten
> authenticated signature)
> and I would like to include this signature bitmap to any outgoing email .
>
> So my question is :
>
> where , at which stage ? can I add this bitmap in the mail ( in an Com
> add-in structure ) the code needs to be able to add the signature image to
> any kind of email wether it HTML RTF or TEXT Only (as attachement in this
> case). wether or not word mail is activated as editor.
> I was looking to put some code there in thses events in the designer
> Private Sub objMailItem_Reply(ByVal Response As Object, Cancel As Boolean)
> '
> 'With objMailItem
> '
> '.Body
> '
> 'End With
> End Sub
>
> Private Sub objMailItem_ReplyAll(ByVal Response As Object, Cancel As

Boolean)
> '
> End Sub
>
> Private Sub objMailItem_Send(Cancel As Boolean)
> '
> End Sub
> but it looks like there is no mean to add the bitmap there or is it a
> mistake from me ?
> Any help will be very much appreciated
> Best regards

  Reply With Quote
Old 13-03-2006, 08:40 AM   #3
=?Utf-8?B?SGVydmUgY2FkaWV1?=
Guest
 
Posts: n/a
Default Re: How to add a bitmap footer to each outgoing email programmatic

Dear Michael Thank you for your email,
Could you show me a code snippet on how to add say a
"c:\myfiles\image.bmp" to any email bottom ?
I cannot figure out how to achieve it.
Thank you much

"Michael Bauer" wrote:

> Am Sat, 11 Mar 2006 01:02:26 -0800 schrieb Herve cadieu:
>
> You can use the Application´s ItemSend event.
>
> --
> Viele Gruesse / Best regards
> Michael Bauer - MVP Outlook
> -- www.vbOffice.net --
>
>
> > Hi ,
> >
> > I have a process which produces an unique bitmap (time stamped handwritten
> > authenticated signature)
> > and I would like to include this signature bitmap to any outgoing email .
> >
> > So my question is :
> >
> > where , at which stage ? can I add this bitmap in the mail ( in an Com
> > add-in structure ) the code needs to be able to add the signature image to
> > any kind of email wether it HTML RTF or TEXT Only (as attachement in this
> > case). wether or not word mail is activated as editor.
> > I was looking to put some code there in thses events in the designer
> > Private Sub objMailItem_Reply(ByVal Response As Object, Cancel As Boolean)
> > '
> > 'With objMailItem
> > '
> > '.Body
> > '
> > 'End With
> > End Sub
> >
> > Private Sub objMailItem_ReplyAll(ByVal Response As Object, Cancel As

> Boolean)
> > '
> > End Sub
> >
> > Private Sub objMailItem_Send(Cancel As Boolean)
> > '
> > End Sub
> > but it looks like there is no mean to add the bitmap there or is it a
> > mistake from me ?
> > Any help will be very much appreciated
> > Best regards

>

  Reply With Quote
Old 13-03-2006, 05:39 PM   #4
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: How to add a bitmap footer to each outgoing email programmatically

See http://www.outlookcode.com/d/code/htmlimg.htm

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Herve cadieu" <Hervecadieu@discussions.microsoft.com> wrote in message
news:75E7F5D5-EB7F-4DF9-BDAC-F2F8D8CB37EE@microsoft.com...
> Hi ,
>
> I have a process which produces an unique bitmap (time stamped handwritten
> authenticated signature)
> and I would like to include this signature bitmap to any outgoing email .
>
> So my question is :
>
> where , at which stage ? can I add this bitmap in the mail ( in an Com
> add-in structure ) the code needs to be able to add the signature image to
> any kind of email wether it HTML RTF or TEXT Only (as attachement in this
> case). wether or not word mail is activated as editor.
> I was looking to put some code there in thses events in the designer
> Private Sub objMailItem_Reply(ByVal Response As Object, Cancel As Boolean)
> '
> 'With objMailItem
> '
> '.Body
> '
> 'End With
> End Sub
>
> Private Sub objMailItem_ReplyAll(ByVal Response As Object, Cancel As
> Boolean)
> '
> End Sub
>
> Private Sub objMailItem_Send(Cancel As Boolean)
> '
> End Sub
> but it looks like there is no mean to add the bitmap there or is it a
> mistake from me ?
> Any help will be very much appreciated
> Best regards



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off