PC Review


Reply
 
 
anna_717717
Guest
Posts: n/a
 
      15th Sep 2009
Hi All,

I'm using the following code to try to send an email (which i will modify at
some time to send a report) :

DoCmd.SendObject acSendNoObject, , , "(E-Mail Removed)", , , "Testing", "this
is a test email", False

Set olApp = New Outlook.Application
Set olNS = olApp.GetNamespace("MAPI")
Set olSyncs = olNS.SyncObjects
Set olSync = olSyncs.Item(1)
olSync.Start


I believe the second part of it is meant to force outllook to do a send
/recieve.
My problem is that when somebody clicks a button to send the email, with
outlook closed, it does not send automatically, but is in the outbox when i
next open outlook. Can I force the email to be sent imediately without
opening outlook?

Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't send page by email or send link by email from IE8. windows mail default client Joe Schmoe Windows Vista Mail 5 4th Sep 2009 07:06 PM
can send email ok but need send/receive button to get email? =?Utf-8?B?U3VzaWU=?= Microsoft Outlook Discussion 0 18th Oct 2006 09:54 PM
Change Default Send email form to Custom Send email Form =?Utf-8?B?UnViZW4=?= Microsoft Outlook Form Programming 2 20th Jan 2006 06:33 PM
Client Table with Email? Click email address to send email? =?Utf-8?B?QnJvb2s=?= Microsoft Access Forms 0 10th Aug 2005 06:06 PM
the send a picture wizard no longer opens whne i try to send pics to an email re rpmgsxr Windows XP Photos 1 26th Mar 2004 10:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:34 PM.