Tried to find the answer to this in the documentation / examples, but haven't found it.
In the configuration file of an application or website you can set the default mailsettings: <system.net> <mailsettings> <smtp> <network host="xxx" port="25" username="xxx" password="xxx"/> </smtp> </mailsettings> </system.net>
Is it possible to let MailMan use these settings by default or do you need always need to define the host/port/username/password after creating the MailMan object?
asked May 24 '13 at 08:23
Any reply for this question?
answered Sep 05 '13 at 11:37
It is extremely simple to write a few lines of code that loads the XML and uses the values found within to set the Chilkat MailMan properties. I would not make sense for Chilkat to include this in the API, because Chilkat supports many different programming languages and operating systems and app.config and web.config make no sense except for in certain environments.
Here is some sample C# code:
bool success = xml.LoadXmlFile("c:/aaworkarea/config.xml");
answered Sep 09 '13 at 12:05