Mail..::..MailAccountTester Method
Mail Account Setting Tester
Send mails if works
Namespace:
FLEXYGO.MailsAssembly: flxMail (in flxMail.dll)
Syntax
public static bool MailAccountTester( IEntity Entity, string MailAccountId, string Account, string UserName, string VisibleName, string PopImapHost, string SMTPHost, string MailPassword, int SMTPPort, int PopImapPort, bool UseSSL, string aSubject, string aTo, ref ProcessManager..::..ProcessHelper Ret )
Public Shared Function MailAccountTester ( _ Entity As IEntity, _ MailAccountId As String, _ Account As String, _ UserName As String, _ VisibleName As String, _ PopImapHost As String, _ SMTPHost As String, _ MailPassword As String, _ SMTPPort As Integer, _ PopImapPort As Integer, _ UseSSL As Boolean, _ aSubject As String, _ aTo As String, _ ByRef Ret As ProcessManager..::..ProcessHelper _ ) As Boolean
Parameters
- Entity
- Type: FLEXYGO.Objects..::..IEntity
- MailAccountId
- Type: String
Id from the mail account
- Account
- Type: String
Address mail
- UserName
- Type: String
Mail UserName
- VisibleName
- Type: String
VisibleName
- PopImapHost
- Type: String
Pop/Imap Host to receive emails
- SMTPHost
- Type: String
SMTP Host to send emails
- MailPassword
- Type: String
Address Mail Password
- SMTPPort
- Type: Int32
SMTP Port to send mails
- PopImapPort
- Type: Int32
Pop/Imap Port to receive emails
- UseSSL
- Type: Boolean
If the mail server use SSL or not
- aSubject
- Type: String
Email Subject to test send
- aTo
- Type: String
Receiver for the test mail