[xul-interop] about nsISmtpServer and thunderbird
Harold Mora <[email protected]> Wed, 20 Jun 2007 20:25:00 +0000 (UTC)
| Newsgroups | gmane.comp.lang.xul.general |
|---|---|
| Message-ID | <[email protected]> |
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