Discuss this help topic in SecureBlackbox Forum

TElSMTPClient.Send

TElSMTPClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Sends an email message.

Declaration

[C#]
    void Send(TElMessage Message);
    void Send(TElSimpleMIMEMessage Message);
    void Send(string MailFrom, TElStringList RcptTo, TElStringList Message);
    void Send(string MailFrom, TElStringList RcptTo, System.IO.Stream Message);
    void Send(System.IO.Stream Message);

[VB.NET]
    Sub Send(ByVal Message As TElMessage)
    Sub Send(ByVal Message As TElSimpleMIMEMessage)
    Sub Send(ByVal MailFrom As String, ByVal RcptTo As TElStringList, ByVal Message As TElStringList)
    Sub Send(ByVal MailFrom As String, ByVal RcptTo As TElStringList, ByVal Message As System.IO.Stream)
    Sub Send(ByVal Message As System.IO.Stream)

[Pascal]
    procedure Send(Message : TElMessage);
    procedure Send(Message : TElSimpleMIMEMessage);
    procedure Send(MailFrom : string; RcptTo, Body : TStringList);
    procedure Send(MailFrom : string; RcptTo : TStringList; Message : TStream);

[C++]
    void Send(TElMessage &Message);
    void Send(TElMessage *Message);
    void Send(TElSimpleMIMEMessage &Message);
    void Send(TElSimpleMIMEMessage *Message);
    void Send(const std::string &MailFrom, TElStringList &RcptTo, TElStringList &Message);
    void Send(const std::string &MailFrom, TElStringList *RcptTo, TElStringList *Message);
    void Send(const std::string &MailFrom, TElStringList &RcptTo, TStream &Message);
    void Send(const std::string &MailFrom, TElStringList *RcptTo, TStream *Message);
    void Send(TStream &Message);
    void Send(TStream *Message);

[PHP]
    void Send(TElMessage $Message)
    void Send(TElSimpleMIMEMessage $Message)
    void Send(string $MailFrom, TElStringList $RcptTo, TElStringList $Message)
    void Send(string $MailFrom, TElStringList $RcptTo, TStream $Message)
    void Send(TStream $Message)

[Java]
    void send(TElSimpleMIMEMessage Message);
    void send(TElStream Message);
    void send(TElMessage Message);
    void send(String MailFrom, TElStringList RcptTo, TElStream Message);
    void send(String MailFrom, TElStringList RcptTo, TElStringList Message);

Parameters

  • Message - Message to be sent
  • MailFrom - Address of the sender
  • Body - Message body
  • RcptTo - Address of the recipient

Description

    Use this method to send an email message. Call Login method before sending any messages. When the message is being sent, the OnProgress event is fired.

See also:     Login     OnProgress    

Discuss this help topic in SecureBlackbox Forum