Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
nsSmtpProtocol.h File Reference
#include "nsMsgProtocol.h"
#include "nsIStreamListener.h"
#include "nsXPIDLString.h"
#include "nsISmtpUrl.h"
#include "nsIMsgStatusFeedback.h"
#include "nsIMsgLogonRedirector.h"
#include "nsIMsgStringService.h"
#include "nsMsgLineBuffer.h"
#include "nsIAuthModule.h"
#include "nsCOMPtr.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsSmtpProtocol

Defines

#define SMTP_PAUSE_FOR_READ   0x00000001 /* should we pause for the next read */
#define SMTP_EHLO_DSN_ENABLED   0x00000002
#define SMTP_AUTH_LOGIN_ENABLED   0x00000004
#define SMTP_AUTH_PLAIN_ENABLED   0x00000008
#define SMTP_AUTH_EXTERNAL_ENABLED   0x00000010
#define SMTP_EHLO_STARTTLS_ENABLED   0x00000020
#define SMTP_WAIT_FOR_REDIRECTION   0x00000040
#define SMTP_LOAD_URL_PENDING   0x00000080
#define SMTP_USE_LOGIN_REDIRECTION   0x00000100
#define SMTP_ESMTP_SERVER   0x00000200
#define SMTP_AUTH_CRAM_MD5_ENABLED   0x00000400
#define SMTP_AUTH_DIGEST_MD5_ENABLED   0x00000800
#define SMTP_AUTH_NTLM_ENABLED   0x00001000
#define SMTP_AUTH_MSN_ENABLED   0x00002000
#define SMTP_AUTH_ANY_ENABLED   0x0000BC1C
#define SMTP_EHLO_SIZE_ENABLED   0x00004000
#define SMTP_AUTH_GSSAPI_ENABLED   0x00008000

Typedefs

typedef enum _SmtpState SmtpState
typedef enum _PrefAuthMethod PrefAuthMethod
typedef enum _PrefTrySSL PrefTrySSL

Enumerations

enum  _SmtpState {
  SMTP_RESPONSE = 0, SMTP_START_CONNECT, SMTP_FINISH_CONNECT, SMTP_SEND_HELO_RESPONSE,
  SMTP_SEND_EHLO_RESPONSE, SMTP_SEND_VRFY_RESPONSE, SMTP_SEND_MAIL_RESPONSE, SMTP_SEND_RCPT_RESPONSE,
  SMTP_SEND_DATA_RESPONSE, SMTP_SEND_POST_DATA, SMTP_SEND_MESSAGE_RESPONSE, SMTP_DONE,
  SMTP_ERROR_DONE, SMTP_FREE, SMTP_AUTH_LOGIN_STEP0_RESPONSE, SMTP_EXTN_LOGIN_RESPONSE,
  SMTP_SEND_AUTH_LOGIN_STEP0, SMTP_SEND_AUTH_LOGIN_STEP1, SMTP_SEND_AUTH_LOGIN_STEP2, SMTP_AUTH_LOGIN_RESPONSE,
  SMTP_TLS_RESPONSE, SMTP_AUTH_EXTERNAL_RESPONSE, SMTP_AUTH_PROCESS_STATE, SMTP_AUTH_CRAM_MD5_CHALLENGE_RESPONSE,
  SMTP_SEND_AUTH_GSSAPI_FIRST, SMTP_SEND_AUTH_GSSAPI_STEP
}
enum  _PrefAuthMethod { PREF_AUTH_NONE = 0, PREF_AUTH_ANY = 1 }
enum  _PrefTrySSL { PREF_SECURE_NEVER = 0, PREF_SECURE_TRY_STARTTLS = 1, PREF_SECURE_ALWAYS_STARTTLS = 2, PREF_SECURE_ALWAYS_SMTPS = 3 }

Define Documentation

#define SMTP_AUTH_ANY_ENABLED   0x0000BC1C

Definition at line 112 of file nsSmtpProtocol.h.

Definition at line 108 of file nsSmtpProtocol.h.

Definition at line 109 of file nsSmtpProtocol.h.

Definition at line 91 of file nsSmtpProtocol.h.

#define SMTP_AUTH_GSSAPI_ENABLED   0x00008000

Definition at line 114 of file nsSmtpProtocol.h.

#define SMTP_AUTH_LOGIN_ENABLED   0x00000004

Definition at line 89 of file nsSmtpProtocol.h.

#define SMTP_AUTH_MSN_ENABLED   0x00002000

Definition at line 111 of file nsSmtpProtocol.h.

#define SMTP_AUTH_NTLM_ENABLED   0x00001000

Definition at line 110 of file nsSmtpProtocol.h.

#define SMTP_AUTH_PLAIN_ENABLED   0x00000008

Definition at line 90 of file nsSmtpProtocol.h.

#define SMTP_EHLO_DSN_ENABLED   0x00000002

Definition at line 88 of file nsSmtpProtocol.h.

#define SMTP_EHLO_SIZE_ENABLED   0x00004000

Definition at line 113 of file nsSmtpProtocol.h.

Definition at line 92 of file nsSmtpProtocol.h.

#define SMTP_ESMTP_SERVER   0x00000200

Definition at line 107 of file nsSmtpProtocol.h.

#define SMTP_LOAD_URL_PENDING   0x00000080

Definition at line 102 of file nsSmtpProtocol.h.

#define SMTP_PAUSE_FOR_READ   0x00000001 /* should we pause for the next read */

Definition at line 87 of file nsSmtpProtocol.h.

Definition at line 106 of file nsSmtpProtocol.h.

Definition at line 98 of file nsSmtpProtocol.h.


Typedef Documentation

typedef enum _PrefTrySSL PrefTrySSL
typedef enum _SmtpState SmtpState

Enumeration Type Documentation

Enumerator:
PREF_AUTH_NONE 
PREF_AUTH_ANY 

Definition at line 116 of file nsSmtpProtocol.h.

Enumerator:
PREF_SECURE_NEVER 
PREF_SECURE_TRY_STARTTLS 
PREF_SECURE_ALWAYS_STARTTLS 
PREF_SECURE_ALWAYS_SMTPS 

Definition at line 121 of file nsSmtpProtocol.h.

enum _SmtpState
Enumerator:
SMTP_RESPONSE 
SMTP_START_CONNECT 
SMTP_FINISH_CONNECT 
SMTP_SEND_HELO_RESPONSE 
SMTP_SEND_EHLO_RESPONSE 
SMTP_SEND_VRFY_RESPONSE 
SMTP_SEND_MAIL_RESPONSE 
SMTP_SEND_RCPT_RESPONSE 
SMTP_SEND_DATA_RESPONSE 
SMTP_SEND_POST_DATA 
SMTP_SEND_MESSAGE_RESPONSE 
SMTP_DONE 
SMTP_ERROR_DONE 
SMTP_FREE 
SMTP_AUTH_LOGIN_STEP0_RESPONSE 
SMTP_EXTN_LOGIN_RESPONSE 
SMTP_SEND_AUTH_LOGIN_STEP0 
SMTP_SEND_AUTH_LOGIN_STEP1 
SMTP_SEND_AUTH_LOGIN_STEP2 
SMTP_AUTH_LOGIN_RESPONSE 
SMTP_TLS_RESPONSE 
SMTP_AUTH_EXTERNAL_RESPONSE 
SMTP_AUTH_PROCESS_STATE 
SMTP_AUTH_CRAM_MD5_CHALLENGE_RESPONSE 
SMTP_SEND_AUTH_GSSAPI_FIRST 
SMTP_SEND_AUTH_GSSAPI_STEP 

Definition at line 55 of file nsSmtpProtocol.h.