Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2013
    Posts
    53

    Unanswered: Add default outlook signature line to email

    Hello everyone!

    Have the following code to automatically send out emails but for some reason it drops off my signature line. Any ideas? Thanks!

    Code:
    Public Function SendEmail_CensusLoad()
    
        Dim strEmailTo As String
        Dim strEmailCC As String
        Dim strSubject As String
        Dim strHTMLbody As String
        Dim strFile As String
        Dim blnOK As Boolean
        Dim strFilePath As String
         
        strFilePath = "\\usii.com\files\Data\Univers\SessionData\2014\Troon_Golf_2014\Technology\2 PreEnroll\2 Client Final Data\Troon_Golf_WS_Census_" & Format(Date, "yyyymmdd") & ".xls"
    
        strEmailTo = "jaime.fiallos@univers.biz"
        strSubject = "Census loaded"
        strHTMLbody = "Worksheet census is also ready:<BR><BR>" & _
            "<a href=""" & strFilePath & """>" & strFilePath & "</a > "
    
       blnOK = SendEmail(strEmailTo, strEmailCC, strSubject, strHTMLbody, "", False, "Y")
    
    End Function

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    The "signature line" doesn't exist at the SMTP level and rarely exists at the email server level, it is an artifact of the email client. When you generate an email using script, your script must generate the signature line for you.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •