Having trouble with my email format. My webserver uses only its email. It is ssl and uses port 587.
web.config
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="name@email.com">
<network enableSsl="true" host="smtp.email.com"
userName="name@email.com"
password="pass1" port="587" defaultCredentials="true" clientDomain="domainname" />
</smtp>
</mailSettings>
</system.net>
Error code:
Insufficient permissions for setting the configuration property 'port'. (E:\kunden\homepages\36\d457818200\www\folder1\web.config line 48)
Go to the complete details ...