I need to delete the attachment after sending it (a temporary PDF report) and I cannot do this unless I dispose the message first. This is otherwise fine, but disposing crashes the program without any error messages. Using the .Net framework I had no issues disposing the message the same way but now when I switched to AIM it doesn't work.
I have made an COM visible DLL with VB.NET that a program made with VB6 uses. Any ideas what could cause this problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem was due to sending asyncronous and disposing before the message had been sent. Making sure that we don't dispose before the message has been sent fixed the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Bug Report" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I need to delete the attachment after sending it (a temporary PDF report) and I cannot do this unless I dispose the message first. This is otherwise fine, but disposing crashes the program without any error messages. Using the .Net framework I had no issues disposing the message the same way but now when I switched to AIM it doesn't work.
I have made an COM visible DLL with VB.NET that a program made with VB6 uses. Any ideas what could cause this problem?
View and moderate all "Bug Report" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
The problem was due to sending asyncronous and disposing before the message had been sent. Making sure that we don't dispose before the message has been sent fixed the problem.