PC Review


Reply
Thread Tools Rate Thread

Cannot send message error after mailtem.reply

 
 
Heiner Schr?der
Guest
Posts: n/a
 
      27th Nov 2004
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.
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      29th Nov 2004
Dim NewMail As Outlook.MailItem

'your code here

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

See if that helps.

--
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


"Heiner Schr?der" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot send a message directly, I can FORWARD OR REPLY. no send RON Microsoft Outlook BCM 0 6th Nov 2009 01:08 AM
Reply message will not send vipergirl Microsoft Outlook Discussion 0 11th Sep 2008 07:48 PM
error message and can't send, reply or forward mail. Annette Windows Vista Mail 2 25th May 2008 06:17 PM
Send/receive does not send my reply to a message =?Utf-8?B?U2lrYW5kZXI=?= Microsoft Outlook Discussion 0 12th Jan 2006 03:59 PM
OL2000 - Reply /Send doesn't send message out Lar Microsoft Outlook Discussion 1 12th Apr 2004 10:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:59 AM.