mail.SaveFileAs question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,

i'm using the outlook object model. i'm using the ItemsAdd event handler so
whenever an email arrives my program will save the attachment if applies.

well, i'm debugging this and when an email comes in the event fires off just
fine. so i'm stepping thru the procedure to save the attachment and as soon
as it does the mail.SaveAsFile the debugging line goes away. it never goes
back to the calling procedure to finish out the rest of the procedure.

any ideas?

rodchar
 
hey all,

the save as file name was in use by another process. i tried to put a try
catch around the mail.SaveAsFile but it said Catch cannot catch
Outlook.Exception what would i do to get around this?

thanks,
rodchar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top