![]() |
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
|
|||
|
|||
![]()
I send email through Word creating an outllok.object and i put as body this
routine Open txtFile For Input As #1 Do While Not EOF(1) Line Input #1, cTemp ll = ll & cTemp & vbNewLine Loop Close #1 with objItem .body = ll .... end with There is a way to use a saved messaged in drafts and reading it or copying it instead of this code? tia, Paula |
Ads |
#2
|
|||
|
|||
![]()
Am Mon, 09 Jan 2006 18:43:16 GMT schrieb Paula:
Example for getting the first item from the drafts: dim oMail as Outlook.MailItem dim obj as object with application.Session.GetdefaultFolder(olFolderDraft s).Items if .count Then Set obj=.Item(1) If TypeOf obj is Outlook.MailItem Then ' Get a copy of the draft Set oMail = obj.Copy endif endif End with -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook I send email through Word creating an outllok.object and i put as body this routine Open txtFile For Input As #1 Do While Not EOF(1) Line Input #1, cTemp ll = ll & cTemp & vbNewLine Loop Close #1 with objItem .body = ll .... end with There is a way to use a saved messaged in drafts and reading it or copying it instead of this code? tia, Paula |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calendar Item Forwarding | BigMike044 | Outlook - Calandaring | 0 | February 14th 06 09:13 PM |
Forwarding a news item | Jeff Needle | Outlook - General Queries | 0 | February 10th 06 06:33 PM |
Create a new item | jim | Add-ins for Outlook | 3 | February 8th 06 03:16 PM |
Catch the item I just sent | Sharad Naik | Add-ins for Outlook | 2 | January 27th 06 05:15 PM |
calendar item | Sue Mosher [MVP-Outlook] | Outlook - Calandaring | 5 | January 24th 06 08:17 PM |