Hello aibusinesssolutions,
Thanks for the quick reply. Yes, I did see a number of articles talking about the DSNOptions when sending through ASP flat. I have, as yet, been unsuccessful in finding a way to modify the DSNOption. I was also considering if it would be better to just access the CDO.Message object directly, and bypass using the System.Web.Mail wrapper, however I haven't found any good examples of how to do that either.
I'm looking forward to the results of your further digging,
-Ashleigh
Main Topics
Browse All Topics





by: aibusinesssolutionsPosted on 2009-02-23 at 15:27:27ID: 23716855
Reading up on the System.Web.Mail, I noticed it is just a wrapper class for CDOSYS, but I don't see any way to get to the DSNOptions which is what you want to modify.
' cdoDSNDefault 0 No DSN commands are issued.
' cdoDSNNever 1 No DSN commands are issued.
' cdoDSNFailure 2 Return a DSN if delivery fails.
' cdoDSNSuccess 4 Return a DSN if delivery succeeds.
' cdoDSNDelay 8 Return a DSN if delivery is delayed.
' cdoDSNSuccessFailOrDelay 14 Return a DSN if delivery succeeds, fails, or is delayed.
I'll keep digging and see if I can find something useful.