Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autosignature Not Appearing with "SendObject" 1

Status
Not open for further replies.

hsp7777

Programmer
Jan 11, 2005
67
US
Greetings,

I have the following code (in Access 2000) which composes an email message and attaches an Access report in the message. What I have noticed, however, is that my Autosignature is not added to the email message. Any idea as to why? Is this a limitation of the "SendObject" method?

DoCmd.SendObject acReport, strDocName, acFormatRTF, strBranchCode, , , strSubject, strMessage, True

Thanks in advance!

hsp7777
 
I'm pretty sure that when you use the SendObject, it is accessing the SMTP server, the autosignature is a setting in your mail client (Outlook?). In order to get the signature on the email, you will need to open the client and send the mail through the client.

HTH

Leslie
 
If the autosignature can be just plain text append your autosignature programatically to the end of your strMessage variable.

DoCmd.SendObject acReport, strDocName, acFormatRTF, strBranchCode, , , strSubject, strMessage & chr(13) & chr(13) & "John Doe" & chr(13) & "Your Contct Info" & chr(13) & "This message is intended......", True

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top