WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsISmtpServer

IID:5d03ff0f-90f3-11db-86bf-000c6e0abfac
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRInt32 authMethod

AUTF8String description

readonly char* displayname

readonly char* helloArgument

char* hostname

char* key

char* password

PRInt32 port

char* redirectorType

readonly char* serverURI

PRBool trySecAuth

PRInt32 trySSL

char* username

PRBool useSecAuth


Methods

void clearAllValues ( ) void forgetPassword ( ) char* getPasswordWithUI ( PRUnichar* promptString , PRUnichar* promptTitle , nsIAuthPrompt netPrompt ) void getUsernamePasswordWithUI ( PRUnichar* promptString , PRUnichar* promptTitle , nsIAuthPrompt netPrompt , out char* userid , out char* password )

void clearAllValues ( )


void forgetPassword ( )


char* getPasswordWithUI ( PRUnichar* promptString , PRUnichar* promptTitle , nsIAuthPrompt netPrompt )

Arguments:
promptString
promptTitle
netPrompt

void getUsernamePasswordWithUI ( PRUnichar* promptString , PRUnichar* promptTitle , nsIAuthPrompt netPrompt , out char* userid , out char* password )

Arguments:
promptString
promptTitle
netPrompt
userid
password

References

This interface is the type of the following properties:

nsISmtpService.defaultServer, nsISmtpService.sessionDefaultServer, nsISmtpUrl.smtpServer

This interface is passed as an argument to the following methods:

nsISmtpService.GetSmtpServerByIdentity, nsISmtpService.deleteSmtpServer

This interface is returned from the following methods:

nsISmtpService.createSmtpServer, nsISmtpService.findServer, nsISmtpService.getServerByKey

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com