SmtpPort (WebMail Ref)

The SMTP (Simple Mail Transfer Protocol) port specifies the SmtpPort and expects an integer value.

Example

WebMail.SmtpPort = 995;

Notice that sometimes SmtpPort can cause issues. Try removing it if you cannot send messages.