about nsISmtpServer and thunderbird

View: New views
1 Messages — Rating Filter:   Alert me  

about nsISmtpServer and thunderbird

by Harold Mora :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, i'm trying to get all the smpt values from a user,
to send automacticly mails.

function userAcount() {
var smtp1 =
Components.classes["@mozilla.org/messengercompose/smtp;1"].
getService(Components.interfaces.nsISmtpService);

alert(
smtp1.defaultServer.hostname+"\n "+
smtp1.defaultServer.password+" \n "+
smtp1.sessionDefaultServer.hostname+" \n"+
smtp1.sessionDefaultServer.password );
}

i recently read this doc:
http://www.mozilla.org/mailnews/arch/accountmanager.html

the problem is the password value, because is loaded when
i send an email (not by default)

how i can find all the smpt values without
load a session

tnxs


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
XUL News Wire      - http://xulnews.com
XUL Job Postings   - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org 
_______________________________________________
xul-talk mailing list
xul-talk@...
https://lists.sourceforge.net/lists/listinfo/xul-talk