![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi
Please help me i am new to this and i would like to automate using outlook. (i have never automated with outlook. i know that its kind of different than the other MS apps). I am automating from Microsoft Access. I am using the DoCmd.SendObject to create an email. I am not asking for instruction on the entire automation process (althought that would be nice) i am troubled with the signature part. i am trying to insert a signiture into an email that i am generating with the Docmd.sendobject. i am not sure how I should refer to the instance that is already there. in this case i am not looking to start a new instance. please help, i am walking in the dark. btw, i assumed (and i told my users) that i can't attach anything to the email generated with the docmd.sendobject. i am now thinking that since my main objective is to attach a file maybe i should not use docmd.sendobject altogether. instead i should automated the whole thing. to clarify, i am not using a report or other object from access. i will paste here the code i am using: DoCmd.SendObject , , , Me.txtEmailAddress, ", , Me.txtFacility.Column(0) & " Systems Audit " & Date, Me.txtEmailBodyText, True thanks, Sam |
Ads |
#2
|
|||
|
|||
![]()
i am trying to insert a signiture into an email that i am
generating with the Docmd.sendobject. You would need to create and display the message with Outlook methods and insert your content into the MailItem.Body or .HTMLBody property. Or, reverse the process: Create and display a plain text message using Outlook objects and get the signature from that item's Body property and concatenate it with the text you're using for the message body. Or, if the user has only one signature, read it from the matching .txt file in the user's Signatures folder on the local drive. I agree with your thinking -- that if all you're using SendObject for is to create a message with an attachment, using Outlook objects would be better. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "SAm" wrote in message ... Hi Please help me i am new to this and i would like to automate using outlook. (i have never automated with outlook. i know that its kind of different than the other MS apps). I am automating from Microsoft Access. I am using the DoCmd.SendObject to create an email. I am not asking for instruction on the entire automation process (althought that would be nice) i am troubled with the signature part. i am trying to insert a signiture into an email that i am generating with the Docmd.sendobject. i am not sure how I should refer to the instance that is already there. in this case i am not looking to start a new instance. please help, i am walking in the dark. btw, i assumed (and i told my users) that i can't attach anything to the email generated with the docmd.sendobject. i am now thinking that since my main objective is to attach a file maybe i should not use docmd.sendobject altogether. instead i should automated the whole thing. to clarify, i am not using a report or other object from access. i will paste here the code i am using: DoCmd.SendObject , , , Me.txtEmailAddress, ", , Me.txtFacility.Column(0) & " Systems Audit " & Date, Me.txtEmailBodyText, True thanks, Sam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Auto Create Signiture | JohnUK | Outlook and VBA | 1 | December 27th 06 07:13 AM |
Leave on the server & signiture problem | Wholesale | Outlook Express | 15 | September 1st 06 02:08 PM |
Signiture Creation Software | [email protected] | Outlook - General Queries | 0 | August 3rd 06 04:58 PM |
why does my signiture text change color when I reply | Hall | Outlook - General Queries | 0 | March 22nd 06 07:52 AM |
Automate export of Appointment Insert/Update/Delete infomation to the database | [email protected] | Add-ins for Outlook | 2 | March 14th 06 03:59 AM |