I am building an app that needs to dynamically/programatically know of and use different SMTP settings when sending email.
Why there is \"from\" attribute of <smtp> element in <system.net><mailSettings>? How can i use it?
I\'ve put mail 开发者_开发知识库settings in app.config and can successfully pull them into a mailSettingsSectionGroup object. However, I\'m not sure how to send a message using these settings.