Parser Error Message: Insufficient permissions for setting the configuration property 'port'.
<system.net><mailSettings><smtp from="user@mail.net"><network host="outbound.smtp.net" port="465" userName="user@mail.net" password="pass" defaultCredentials="false" /></smtp></mailSettings></system.net>

How do you take into account for"Use the following type of encrypted connection: SSL"

This is what is in the vb part with the full "msg" including Subject, Body, To, From, etc
Dim client As SmtpClient = New SmtpClient() client.DeliveryMethod = SmtpDeliveryMethod.Network client.EnableSsl = "True" client.Send(msg)