B-Arts DocumentationIndice generale

BSenderMailConfig

Identità

  • Namespace: B.BMail

  • Assembly: BFramework

  • Tipo: class

  • Sorgente API: versione 5.0.0

Scopo

Raccoglie i parametri del mittente e seleziona il canale usato da BSMTP: client SMTP .NET, Database Mail SQL Server oppure il sender CDO dichiarato ma non implementato.

Dichiarazione

public class BSenderMailConfig

Costruttori

  • BSenderMailConfig()

  • BSenderMailConfig(string smtpServer, int smtpPort, bool ssl = false, string destinatario = "")

  • BSenderMailConfig(string smtpServer, int smtpPort, string userName, string pwd, bool ssl = false, string destinatario = "")

Proprietà

Proprietà Tipo Accesso
DescrizioneProfilo string get/set
Destinatario string get/set
NomeAccount string get/set
NomeProfilo string get/set
Password string get/set
SenderType eSenderType get/set
SMTPPort int get/set
SMTPServer string get/set
SSL bool get/set
Username string get/set

Tipi annidati

eSenderType

eCDOMicrosoft, eNETMail, eSQLSERVER

  • eNETMail: invio mediante System.Net.Mail.SmtpClient; è il valore predefinito.

  • eSQLSERVER: invio e gestione del profilo mediante stored procedure B-Arts e una IBConnection.

  • eCDOMicrosoft: modalità non implementata; l'invio restituisce false.

Esempi

Consultare BSenderMailConfig - Esempi.