![]() |
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
|
|||
|
|||
![]()
Hi experts,
Is there a way to, using VBA code, to prevent OUTLOOK to receive the messages on the server side when sending mails out? I need to ONLY send mails with OUTLOOK, but NOT receiving. Reason is the use of different mail clients (Outlook Express, Mozilla, ...) on different pc's and i don't want that the mails are downloaded from the server and arrive in the OUTLOOK inbox, while the user use the mailbox from his default (NOT OUTLOOK) mail program as Mozilla, Outlook Express, ... Can you provide me the vba code i need to add into my send mail subroutine? I guess it's only one or two lines of code. Regards, Ludo |
#2
|
|||
|
|||
![]() AFAIK, that's not possible. It was by using the commandbar technique (http://www.outlookcode.com/d/tips/commandbarfun.htm), but is now blocked for security reasons. -- Best regards Michael Bauer - MVP Outlook Synchronize Outlook Categories: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Thu, 20 Dec 2007 23:00:07 -0800 (PST) schrieb Ludo: Hi experts, Is there a way to, using VBA code, to prevent OUTLOOK to receive the messages on the server side when sending mails out? I need to ONLY send mails with OUTLOOK, but NOT receiving. Reason is the use of different mail clients (Outlook Express, Mozilla, ...) on different pc's and i don't want that the mails are downloaded from the server and arrive in the OUTLOOK inbox, while the user use the mailbox from his default (NOT OUTLOOK) mail program as Mozilla, Outlook Express, ... Can you provide me the vba code i need to add into my send mail subroutine? I guess it's only one or two lines of code. Regards, Ludo |
#3
|
|||
|
|||
![]()
On Dec 21, 10:35*am, "Michael Bauer [MVP - Outlook]"
wrote: AFAIK, that's not possible. It was by using the commandbar technique (http://www.outlookcode.com/d/tips/commandbarfun.htm), but is now blocked for security reasons. -- Best regards Michael Bauer - MVP Outlook * Synchronize Outlook Categories: * http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Thu, 20 Dec 2007 23:00:07 -0800 (PST) schrieb Ludo: Thanks Michael for the fast reply. Now im still stuck with this problem! Hoped there was a possibility to do so. ![]() I don't see it only as a security case, but also to force people to use MS OUTLOOK instead of using there own favorite mail program. Using CDO isn't an option for the moment, i'm still running Win 98SE with Office 2000. Win 98 and Win ME can't use CDO as i found out on the internet. Regards, Ludo Hi experts, Is there a way to, using VBA code, to prevent OUTLOOK to receive the messages on the server side when sending mails out? I need to ONLY send mails with OUTLOOK, but NOT receiving. Reason is the use of different mail clients (Outlook Express, Mozilla, ...) on different pc's and i don't want that the mails are downloaded from the server and arrive in the OUTLOOK inbox, while the user use the mailbox from his default (NOT OUTLOOK) mail program as Mozilla, Outlook Express, ... Can you provide me the vba code i need to add into my send mail subroutine? I guess it's only one or two lines of code. Regards, Ludo- Hide quoted text - - Show quoted text - |
#4
|
|||
|
|||
![]() I don't understand your logic. If you want to work with your favorite e-mail program, why don't you do so? If you can't automate that program by code, certainly that's not the fault of Outlook. Additionally to Sues great idea, if you're looking for a way to send e-mails you could also use e.g. the WinSock control, which ships at least with VB6. -- Best regards Michael Bauer - MVP Outlook Synchronize Outlook Categories: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Fri, 21 Dec 2007 03:29:32 -0800 (PST) schrieb Ludo: On Dec 21, 10:35*am, "Michael Bauer [MVP - Outlook]" wrote: AFAIK, that's not possible. It was by using the commandbar technique (http://www.outlookcode.com/d/tips/commandbarfun.htm), but is now blocked for security reasons. -- Best regards Michael Bauer - MVP Outlook * Synchronize Outlook Categories: * http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Thu, 20 Dec 2007 23:00:07 -0800 (PST) schrieb Ludo: Thanks Michael for the fast reply. Now im still stuck with this problem! Hoped there was a possibility to do so. ![]() I don't see it only as a security case, but also to force people to use MS OUTLOOK instead of using there own favorite mail program. Using CDO isn't an option for the moment, i'm still running Win 98SE with Office 2000. Win 98 and Win ME can't use CDO as i found out on the internet. Regards, Ludo Hi experts, Is there a way to, using VBA code, to prevent OUTLOOK to receive the messages on the server side when sending mails out? I need to ONLY send mails with OUTLOOK, but NOT receiving. Reason is the use of different mail clients (Outlook Express, Mozilla, ...) on different pc's and i don't want that the mails are downloaded from the server and arrive in the OUTLOOK inbox, while the user use the mailbox from his default (NOT OUTLOOK) mail program as Mozilla, Outlook Express, ... Can you provide me the vba code i need to add into my send mail subroutine? I guess it's only one or two lines of code. Regards, Ludo- Hide quoted text - - Show quoted text - |
#5
|
|||
|
|||
![]()
What about this approach: Create a new send/receive group that, for each account, only sends and does not receive. When you need to deliver sent messages programmatically, return the SyncObject representing that send/receive group from the SyncObjects collect. Then call SyncObject.Start.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Ludo" wrote in message ... Hi experts, Is there a way to, using VBA code, to prevent OUTLOOK to receive the messages on the server side when sending mails out? I need to ONLY send mails with OUTLOOK, but NOT receiving. Reason is the use of different mail clients (Outlook Express, Mozilla, ...) on different pc's and i don't want that the mails are downloaded from the server and arrive in the OUTLOOK inbox, while the user use the mailbox from his default (NOT OUTLOOK) mail program as Mozilla, Outlook Express, ... Can you provide me the vba code i need to add into my send mail subroutine? I guess it's only one or two lines of code. Regards, Ludo |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stop Outlook forcing area code on mobile numbers | Jisher | Outlook - Using Contacts | 1 | August 22nd 07 03:26 PM |
FORCING RPC OVER HTTP-OUTLOOK 2003/2007 | Dave Durand | Outlook - Installation | 1 | May 12th 07 02:59 AM |
Forcing the "Send teh response now" option when accepting a meetin | justinmarthaler | Outlook - Calandaring | 2 | January 11th 07 04:17 AM |
Forcing AutoArchive to run | Art Billings | Outlook - Installation | 1 | September 28th 06 10:16 PM |
Outlook Checking Forcing sequential check of multiple pop accounts | Eric | Outlook - General Queries | 4 | July 19th 06 05:03 PM |