The nsISmtpService object is not implemented in FF, but is implemented
in TB...

Didier

--- "Eric H. Jung" <[EMAIL PROTECTED]> wrote:

> Didier, as an aside to you happen to know if the SMTP interfaces are
> implemented in Firefox and Mozilla (not just Thunderbird)?
> 
> 
> --- Didier Ernotte <[EMAIL PROTECTED]> wrote:
> 
> > Ok, it seems like these object are not implemented in Firefox, only
> > in
> > Thunderbird... :-( So I'm not gonna use them... But I have to
> > reimplement a NNTP protocol by hand based on the socket. I have
> > looked
> > at the jslib project to play with the socket, but I have a problem.
> > My
> > script is
> > 
> > var socket = new Socket();
> > socket.open("news.videotron.ca",119);
> > socket.async(myObserver);
> > 
> > when I get the welcome string form the server in the myObserver, I
> > call
> > 
> > 
> > socket.write("GROUP netscape.mozilla.dev.xul\n");
> > socket.async(myObserver);
> > 
> > to get the number of news in the newsgroup, but I never get an
> > answer.
> > The only answer from the news server is a "503 time out" message
> > after
> > few minutes. 
> > Can we make a scenario like 
> > OPEN SOCKET
> > READ
> > WRITE
> > READ
> > WRITE
> > ....
> > CLOSE
> > 
> > It look like after one read and one write, the inputStreamBuffer
> and
> > outputStreamBuffer are stuck. Do we have to reset them ?
> > How can I do this scenario ?
> > 
> > Didier 
> > 
> > 
> > 
> > --- Didier Ernotte <[EMAIL PROTECTED]> wrote:
> > 
> > > Hi ,
> > > 
> > > I'm looking for a small tutorial on how to use the XPCOM objet to
> > > acces
> > > a NNTP server. I have notive that there is a
> nsINntpIncomingServer,
> > > associated with a nsIMgsFolder, but a small tutorial or a few
> > sample
> > > lines would be appreciated (when I say "few lines", I mean not
> > > reverse
> > > engeneering Thunderbird...)
> > > Thanks
> > > 
> > > Didier
> > > _______________________________________________
> > > Project_owners mailing list
> > > [email protected]
> > > http://mozdev.org/mailman/listinfo/project_owners
> > > 
> > 
> > _______________________________________________
> > Project_owners mailing list
> > [email protected]
> > http://mozdev.org/mailman/listinfo/project_owners
> > 
> 
> 
> 
>               
> __________________________________________ 
> Yahoo! DSL � Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 
> 

_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to