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

Send reply when email is sent HELP!



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 5th 09, 03:23 AM posted to microsoft.public.outlook.program_vba
laavista
external usenet poster
 
Posts: 15
Default Send reply when email is sent HELP!

I'm using Outlook 2000-2002 and really need help. I've spent hours trying to
figure out how to do something that should be simple...

I send hundreds of emails with attachments each week. When I send an email
with specific words in the title, I need to also send a copy of the email
WITHOUT the attachment to specific addressees. I thought I could use VBA to
do a REPLY to that email so the attachments would not be sent. I cannot get
the code to work.

I created a sub application.itemsend that "fires" whenever I send an email
and can put up a msgbox, but I can't get a reply to work.

Does anyone have an example of some vba code that would work?

Any help would be appreciated...


Ads
  #2  
Old July 5th 09, 02:38 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Send reply when email is sent HELP!

You cannot reply to a message for which the sending process is not yet
complete. Instead, make a copy of the message with the Copy method and
remove all the attachments from the copy.

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


"laavista" wrote in message
...
I'm using Outlook 2000-2002 and really need help. I've spent hours trying
to
figure out how to do something that should be simple...

I send hundreds of emails with attachments each week. When I send an
email
with specific words in the title, I need to also send a copy of the email
WITHOUT the attachment to specific addressees. I thought I could use VBA
to
do a REPLY to that email so the attachments would not be sent. I cannot
get
the code to work.

I created a sub application.itemsend that "fires" whenever I send an email
and can put up a msgbox, but I can't get a reply to work.

Does anyone have an example of some vba code that would work?

Any help would be appreciated...




  #3  
Old July 5th 09, 06:47 PM posted to microsoft.public.outlook.program_vba
laavista
external usenet poster
 
Posts: 15
Default Send reply when email is sent HELP!

Thank you! This makes sense.

"Sue Mosher [MVP]" wrote:

You cannot reply to a message for which the sending process is not yet
complete. Instead, make a copy of the message with the Copy method and
remove all the attachments from the copy.

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


"laavista" wrote in message
...
I'm using Outlook 2000-2002 and really need help. I've spent hours trying
to
figure out how to do something that should be simple...

I send hundreds of emails with attachments each week. When I send an
email
with specific words in the title, I need to also send a copy of the email
WITHOUT the attachment to specific addressees. I thought I could use VBA
to
do a REPLY to that email so the attachments would not be sent. I cannot
get
the code to work.

I created a sub application.itemsend that "fires" whenever I send an email
and can put up a msgbox, but I can't get a reply to work.

Does anyone have an example of some vba code that would work?

Any help would be appreciated...





 




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
when i reply or send email from outlook, the message comes to my bm Outlook - General Queries 2 March 31st 08 10:41 PM
When I try to send or reply to an email I can type into the email Randy Outlook - General Queries 2 April 16th 07 07:23 PM
Reply ASAP Please - email won't send Bob Newman Outlook - General Queries 11 March 27th 07 02:40 PM
Can send new email but cannot reply. Marc Miller Outlook - General Queries 10 July 6th 06 10:27 PM
Send a reply on opening an email CarlSprake Outlook and VBA 1 January 19th 06 08:41 AM


All times are GMT +1. The time now is 04:38 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.