i have a problem when using POSTAL MVC in my Project. My hosting services company requires me to set smtp client config in code not in web config.
How to do that ?
I hope someone can give me a solution
Thank you.
i have a problem when using POSTAL MVC in my Project. My hosting services company requires me to set smtp client config in code not in web config.
How to do that ?
I hope someone can give me a solution
Thank you.
I had the same problem. There is no reference on the official Postal documentation, nor an How-to. So here goes one:
Here goes a complete sample code: