Re: Add html signature to email

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Sean (Sean_at_discussions.microsoft.com)
Date: 10/28/04


Date: Thu, 28 Oct 2004 13:38:02 -0700

I'll check it out, but is there a way to insert a saved signature such as
"sign_johndoe". Could I put the path of the signature file in the 'HTML Code
Here' field?

"Veign" wrote:

> Look into these two properties
>
> .BodyFormat = olFormatHTML
> .HTMLBody = "HTML CODE HERE"
>
> See if that helps.
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> http://www.veign.com
> --
>
> "Sean" <Sean@discussions.microsoft.com> wrote in message
> news:9C264397-EB10-4ADF-9A5D-26EB62AFF673@microsoft.com...
> > Is there a way to add a default (or named) html signature to the email
> which
> > is generated from the code below?
> > Thanks,
> > Sean
> >
> > ' email code
> > Dim App
> > Dim Item
> > Dim y As Integer
> >
> > Dim sInFolder() As String
> > Attachment = txtAttach.Text
> > Set App = CreateObject("Outlook.Application")
> > Set Item = App.CreateItem(0)
> >
> > With Item
> > .Subject =
> > .To =
> > .Cc =
> > .Body =
> >
> > If chkAttach.Value = 1 And Len(Attachment > 20) Then
> > .Attachments.Add Attachment
> > End If
> >
> > .Send
> >
> > End With
> > Set App = Nothing
> > Set Item = Nothing
>
>
>



Relevant Pages

  • Outlook 2003 macro signature help please
    ... I'm playing with my outlook signature. ... Today I found macro code that wil insert my itunes "now playing" ... starts the message without my signature file (which has my random ... Dim strArtist As String ...
    (microsoft.public.outlook.program_vba)
  • Re: Streamreader cutting data?
    ... Are you sure that it is missing because when there is a 00 value character ... in your string than the rest is not showed anymore. ... Dim Resp As HttpWebResponse ... the end of the HTML code is missing. ...
    (microsoft.public.dotnet.languages.vb)
  • Streamreader cutting data?
    ... I'm using a HttpWebRequest/HttpWebResponse to get plain html code off a website. ... Dim Resp As HttpWebResponse ... Resp = CType, HttpWebResponse) ...
    (microsoft.public.dotnet.languages.vb)
  • Getting formatted body from email to word
    ... contents over as either plain text or html code, but cannot figure out how to ... Dim objFolder As MAPIFolder ... 'Getting outlook inbox folder ... That gives the plain text. ...
    (microsoft.public.outlook.program_vba)
  • Re: Insert signature from Access 2003
    ... It depends on everyone having their signature file in Outlook (In ... Dim ObjCtl As Office.CommandBarControl ... Set ObjCB = objOutlook.ActiveInspector.CommandBars ... Set ObjPop = ObjPop.Controls ...
    (microsoft.public.outlook.program_vba)