Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Dan Baker
  Where is Dan Baker?
 Effort of the Poconos
 Pennsylvania - United States
 Dan Baker
 To: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 Tags
Subject: RE: Must Outlook be open to send VFP emails
Thread ID: 394099 Message ID: 394137 # Views: 31 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Monday, December 30, 2013 9:22:37 PM         
   


>
> Hi Dan,
>
> The Outlook MailItem, i.e. oEmailItem in your code, has a Send() method as far as I remember.
>
> (FWIW, the error handling in your code snippet looks dangerous since it does restore eventually existing previous On Error error handler content.
> I would use Try/Catch blocks instead.)
>
> hth
> -Stefan

Thanks, Stefan,

I will insert the TRY/CATCH as you suggest. And maybe I can insert a routine that forwards Outlook
messages that didn't get sent till another time.

Dan B.

ENTIRE THREAD

Must Outlook be open to send VFP emails Posted by Dan Baker @ 12/30/2013 4:54:52 PM
RE: Must Outlook be open to send VFP emails Posted by David Mustakim @ 12/30/2013 5:14:08 PM
RE: Must Outlook be open to send VFP emails Posted by Stefan Wuebbe @ 12/30/2013 5:20:27 PM
RE: Must Outlook be open to send VFP emails Posted by Dan Baker @ 12/30/2013 9:22:37 PM
RE: Must Outlook be open to send VFP emails Posted by Pete Sass @ 12/30/2013 6:42:30 PM
RE: Must Outlook be open to send VFP emails Posted by Stefan Wuebbe @ 12/30/2013 7:09:12 PM
RE: Must Outlook be open to send VFP emails Posted by Pete Sass @ 12/30/2013 7:39:09 PM
RE: Must Outlook be open to send VFP emails Posted by Stefan Wuebbe @ 12/30/2013 7:51:01 PM
RE: Must Outlook be open to send VFP emails Posted by David Mustakim @ 12/30/2013 8:07:59 PM
RE: Must Outlook be open to send VFP emails Posted by Pete Sass @ 12/30/2013 8:24:13 PM
RE: Must Outlook be open to send VFP emails Posted by David Mustakim @ 12/30/2013 8:36:41 PM
RE: Must Outlook be open to send VFP emails Posted by Pete Sass @ 12/30/2013 11:21:11 PM
RE: Must Outlook be open to send VFP emails Posted by Russell Hill @ 12/30/2013 7:43:17 PM
RE: Must Outlook be open to send VFP emails Posted by Dan Baker @ 12/30/2013 11:32:27 PM
RE: Must Outlook be open to send VFP emails Posted by Dan Baker @ 12/30/2013 11:49:24 PM