Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / November 2004

Tip: Looking for answers? Try searching our database.

Cannot send message error after mailtem.reply

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Heiner Schr?der - 27 Nov 2004 10:45 GMT
I have got the following problem:

I move an email from the postbox to folder x with:
dim moved_mail as mailitem
dim mail as mailitem
dim x as MapiFolder

set moved_mail = mail.move(x)

This works.

In the next step I'd like to reply to this mail
from this new place:

move_mail.reply

Here I got the mentioned "sent" error.

If I access this mail by x.items(mail.subject)
and start the .reply from this object I got
no error, but this solution won't work for
mails with same subjects.

Any ideas how to solve this problem?

BR
Heiner.
Ken Slovak - [MVP - Outlook] - 29 Nov 2004 14:09 GMT
Dim NewMail As Outlook.MailItem

'your code here

Set NewMail = objOutlook.Session.GetItemFromID(moved_mail.EntryID)
NewMail.Reply

See if that helps.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> I have got the following problem:
>
[quoted text clipped - 23 lines]
> BR
> Heiner.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.