View Single Post
  #14  
Old November 28th 07, 05:45 PM posted to microsoft.public.outlook.program_vba
Robin9876
external usenet poster
 
Posts: 10
Default VBA to Send message from a named Mailbox

I have used the VBA example code for CDO message from the following
Microsoft KB article http://support.microsoft.com/kb/161833

However the message were queued up in in this profile until I logged
in to it in Outlook.

How is it possible in the code to force a send message for this
profile?

On 27 Nov, 17:34, "Sue Mosher [MVP-Outlook]"
wrote:
Nothing in particular happens. CDO for Windows doesn't use Outlook in any way.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54

"Robin9876" wrote in ...
Do you know what happens if you already have Outlook open on the pc
and then use CDO to send a message from another VBA application?


On 26 Nov, 17:13, Robin9876 wrote:
Yes it is IMAP, so the SMTP by sending either with the toolbar or CDO
should work.


On 23 Nov, 18:55, "Sue Mosher [MVP-Outlook]"
wrote:


Do you mean IMAP, not LMAP? IMAP is a protocol for receiving messages. SMTP is the protocol used for sending.


"Robin9876" wrote in ...
It is connecting to a mail server via LMAP which I thought CDO only
connects to SMTP server?


On 23 Nov, 15:48, "Sue Mosher [MVP-Outlook]"
wrote:
Not if Outlook is already running. Only one Outlook session can be running at a time.


Is Outlook really necessary to your Access application? Have you thought about using CDO for Windows to send directly through an SMTP server?


Ads