Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I use the following OUTLOOK Object Model code to email sheets to users. I
need to know if the sender actually sent the email. I know how to get a return code using the SENDMAIL model, but I need to modify the body of the message. I have searched all documentation that I have, or have been able to find, including searching the OUTLOOK community Q&A's. Can a return code be sent back that tells me if the sender actually sent the email? Thanks regards, Gary €˜ €˜Send email €˜ With OutMail .To = " .CC = "" .BCC = "" .Subject = "Ron, Thank you for making your code samples public!" .Body = Modified_message_based_on_sheet_content .Attachments.Add archivename .Display End With If emailsent then LogTheEmailSent Else Msgbox €œemail was not sent!€ endif |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Outlook - Object Model Guardian | Excel Programming | |||
Send Mail - Code to test whether Lotus Notes / Outlook is used | Excel Programming | |||
How can I use Outlook express to send mail rather than Outlook by VBA code | Excel Programming | |||
How can I use Outlook express to send mail rather than Outlook by VBA code | Excel Programming | |||
Confusion about how the Window object fits into the Excel object model | Excel Programming |