A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

mail merge to email - schedule send time



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 9th 09, 04:04 PM posted to microsoft.public.outlook.program_vba
Diane
external usenet poster
 
Posts: 29
Default mail merge to email - schedule send time

Group,
I am trying to test a mail merge to an email and then set a scheduled time
for Outlook to send the emails. Currently, I create the body of the email in
MS WORD 2003, then select the option to merge to email. My document merges
into Outlook 2003 and immediately begins sending emails - this is where I
want to set a scheduled time. Can I configure my OUTBOX to send at a
specific time? If I need to create code with VBA, I'm fine with this, I just
need to know how to handle a "schedule" for my Outlook OUTBOX. Also, I am
not on an Exchange Server.

Thanks,
  #2  
Old February 9th 09, 05:53 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default mail merge to email - schedule send time



You can't set the outbox for that but the e-mail. See the
DeferredDeliveryTime property.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 9 Feb 2009 08:04:00 -0800 schrieb Diane:

Group,
I am trying to test a mail merge to an email and then set a scheduled time
for Outlook to send the emails. Currently, I create the body of the email

in
MS WORD 2003, then select the option to merge to email. My document

merges
into Outlook 2003 and immediately begins sending emails - this is where I
want to set a scheduled time. Can I configure my OUTBOX to send at a
specific time? If I need to create code with VBA, I'm fine with this, I

just
need to know how to handle a "schedule" for my Outlook OUTBOX. Also, I am
not on an Exchange Server.

Thanks,

  #3  
Old February 9th 09, 07:36 PM posted to microsoft.public.outlook.program_vba
Diane
external usenet poster
 
Posts: 29
Default mail merge to email - schedule send time

Michael,
I'm researching the DeferredDeliveryTime. If I'm understanding this
correctly, the mail merge process will be moved from MS Word to vba code in
Outlook - correct?
With the Outlook vba code, it will connect to my datebase, create the email,
and then use the property of deferreddeliverytime to set the time.

Am I correct on this, I would no longer use the mail merge process from MS
Word?

Thanks for your response.



"Michael Bauer [MVP - Outlook]" wrote:



You can't set the outbox for that but the e-mail. See the
DeferredDeliveryTime property.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 9 Feb 2009 08:04:00 -0800 schrieb Diane:

Group,
I am trying to test a mail merge to an email and then set a scheduled time
for Outlook to send the emails. Currently, I create the body of the email

in
MS WORD 2003, then select the option to merge to email. My document

merges
into Outlook 2003 and immediately begins sending emails - this is where I
want to set a scheduled time. Can I configure my OUTBOX to send at a
specific time? If I need to create code with VBA, I'm fine with this, I

just
need to know how to handle a "schedule" for my Outlook OUTBOX. Also, I am
not on an Exchange Server.

Thanks,


  #4  
Old February 11th 09, 04:28 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default mail merge to email - schedule send time



I'm sorry, that was a misunderstanding. I thought you have it in VBA.
Actually, re-writing all the merge stuff yourself in VBA just to get it sent
at a later time seems to be too much of work.

Maybe this could work: You could catch the ItemSend event, set Cancel=True
and the DeferredDeliveryTime, then call the Send method again. The problem
is, you need to know for what e-mails to do this, maybe you can identify the
e-mail by its subject?

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 9 Feb 2009 11:36:01 -0800 schrieb Diane:

Michael,
I'm researching the DeferredDeliveryTime. If I'm understanding this
correctly, the mail merge process will be moved from MS Word to vba code

in
Outlook - correct?
With the Outlook vba code, it will connect to my datebase, create the

email,
and then use the property of deferreddeliverytime to set the time.

Am I correct on this, I would no longer use the mail merge process from MS
Word?

Thanks for your response.



"Michael Bauer [MVP - Outlook]" wrote:



You can't set the outbox for that but the e-mail. See the
DeferredDeliveryTime property.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 9 Feb 2009 08:04:00 -0800 schrieb Diane:

Group,
I am trying to test a mail merge to an email and then set a scheduled

time
for Outlook to send the emails. Currently, I create the body of the

email
in
MS WORD 2003, then select the option to merge to email. My document

merges
into Outlook 2003 and immediately begins sending emails - this is where

I
want to set a scheduled time. Can I configure my OUTBOX to send at a
specific time? If I need to create code with VBA, I'm fine with this, I

just
need to know how to handle a "schedule" for my Outlook OUTBOX. Also, I

am
not on an Exchange Server.

Thanks,


  #5  
Old February 11th 09, 07:42 PM posted to microsoft.public.outlook.program_vba
Diane
external usenet poster
 
Posts: 29
Default mail merge to email - schedule send time

Michael,
Your comment about "re-writing all the merge stuff" being too much
work....actually I think this is where I'm probably headed. But for testing
something simple right now, I'll keep with the MS Word merge to email
process.

Your suggestion, "You could catch the ItemSend event, set Cancel=True and
the DeferredDeliveryTime, then call the Send method again." -- Clarify this
for me, when I process the merge now, MS Word merges to "email", the email is
sent directly to the outbox of Outlook. Are you telling me that I could
catch the ItemSend event while these emails are sitting in the Outlook
outbox?

I'm very familiar with VBA code with MS Word, haven't done any in Outlook,
but assuming there won't be much difference.

Thanks for your interest with this post.


"Michael Bauer [MVP - Outlook]" wrote:



I'm sorry, that was a misunderstanding. I thought you have it in VBA.
Actually, re-writing all the merge stuff yourself in VBA just to get it sent
at a later time seems to be too much of work.

Maybe this could work: You could catch the ItemSend event, set Cancel=True
and the DeferredDeliveryTime, then call the Send method again. The problem
is, you need to know for what e-mails to do this, maybe you can identify the
e-mail by its subject?

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 9 Feb 2009 11:36:01 -0800 schrieb Diane:

Michael,
I'm researching the DeferredDeliveryTime. If I'm understanding this
correctly, the mail merge process will be moved from MS Word to vba code

in
Outlook - correct?
With the Outlook vba code, it will connect to my datebase, create the

email,
and then use the property of deferreddeliverytime to set the time.

Am I correct on this, I would no longer use the mail merge process from MS
Word?

Thanks for your response.



"Michael Bauer [MVP - Outlook]" wrote:



You can't set the outbox for that but the e-mail. See the
DeferredDeliveryTime property.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 9 Feb 2009 08:04:00 -0800 schrieb Diane:

Group,
I am trying to test a mail merge to an email and then set a scheduled

time
for Outlook to send the emails. Currently, I create the body of the

email
in
MS WORD 2003, then select the option to merge to email. My document
merges
into Outlook 2003 and immediately begins sending emails - this is where

I
want to set a scheduled time. Can I configure my OUTBOX to send at a
specific time? If I need to create code with VBA, I'm fine with this, I
just
need to know how to handle a "schedule" for my Outlook OUTBOX. Also, I

am
not on an Exchange Server.

Thanks,


  #6  
Old February 12th 09, 12:02 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default mail merge to email - schedule send time


I haven't tried with a merge from Word but from Outlook. When you click Send
and the e-mail goes into the outbox, the ItemSend will be fired.

Simply put this into ThisOutlookSession in Outlook to test whether it works
for you or not:

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
msgbox item.subject
Cancel=true
End Sub

It should display the subject of the message and cancel it. (Don't forget to
remove at least the Cancel=true, else you won't be able to send an e-mail
anymore...

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en



Am Wed, 11 Feb 2009 11:42:00 -0800 schrieb Diane:

Michael,
Your comment about "re-writing all the merge stuff" being too much
work....actually I think this is where I'm probably headed. But for

testing
something simple right now, I'll keep with the MS Word merge to email
process.

Your suggestion, "You could catch the ItemSend event, set Cancel=True and
the DeferredDeliveryTime, then call the Send method again." -- Clarify

this
for me, when I process the merge now, MS Word merges to "email", the email

is
sent directly to the outbox of Outlook. Are you telling me that I could
catch the ItemSend event while these emails are sitting in the Outlook
outbox?

I'm very familiar with VBA code with MS Word, haven't done any in Outlook,
but assuming there won't be much difference.

Thanks for your interest with this post.


"Michael Bauer [MVP - Outlook]" wrote:



I'm sorry, that was a misunderstanding. I thought you have it in VBA.
Actually, re-writing all the merge stuff yourself in VBA just to get it

sent
at a later time seems to be too much of work.

Maybe this could work: You could catch the ItemSend event, set

Cancel=True
and the DeferredDeliveryTime, then call the Send method again. The

problem
is, you need to know for what e-mails to do this, maybe you can identify

the
e-mail by its subject?

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 9 Feb 2009 11:36:01 -0800 schrieb Diane:

Michael,
I'm researching the DeferredDeliveryTime. If I'm understanding this
correctly, the mail merge process will be moved from MS Word to vba code

in
Outlook - correct?
With the Outlook vba code, it will connect to my datebase, create the

email,
and then use the property of deferreddeliverytime to set the time.

Am I correct on this, I would no longer use the mail merge process from

MS
Word?

Thanks for your response.



"Michael Bauer [MVP - Outlook]" wrote:



You can't set the outbox for that but the e-mail. See the
DeferredDeliveryTime property.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 9 Feb 2009 08:04:00 -0800 schrieb Diane:

Group,
I am trying to test a mail merge to an email and then set a scheduled

time
for Outlook to send the emails. Currently, I create the body of the

email
in
MS WORD 2003, then select the option to merge to email. My document
merges
into Outlook 2003 and immediately begins sending emails - this is

where
I
want to set a scheduled time. Can I configure my OUTBOX to send at a
specific time? If I need to create code with VBA, I'm fine with this,

I
just
need to know how to handle a "schedule" for my Outlook OUTBOX. Also,

I
am
not on an Exchange Server.

Thanks,


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge contact lists and email with mail merge DiHo Outlook - Using Contacts 1 January 26th 09 09:07 PM
Merge to email and Send as Brian Cryer Outlook - General Queries 4 April 7th 08 06:05 PM
Auto Schedule Send Mail in pre-defined intervals via VBA Michael Avidan Outlook and VBA 5 December 4th 07 06:13 AM
How to schedule the desired time to send a mail? Himanshu Verma Outlook - General Queries 2 September 27th 07 07:38 PM
send form or email automatically on a schedule? Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 07:38 PM


All times are GMT +1. The time now is 05:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.