Re: [ROOT] Send eMails...

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Thu Jan 22 2004 - 19:26:38 MET


Hi Valeri,

> > > You must be kidding :-)))
> > >
> > > No, just kidding. A few years ago were being accused of doing
> everything
> > > in ROOT, and that in the next version we will send email from
> TObject
> > > and turn on the coffee machine.
> > >
> > > I think it might nice to have a SMTP class that allows one to send
> email
> > > for reporting (but not in TObject :-)).
> 
> > > Maybe for the time being you
> > > could survive with using TSystem::OpenPipe() to send a mail message
> > > using "/bin/mail".
> > >
> > > If you mail me a TSMPT (TMail) I will consider it.
> > 
> > I do not think we need it as a ROOT class. I'll prepare a macro for
> > $ROOTSYS/tutorial/sendmail.C with TSMPT class inside
> > which will demonstrate an usage of TSocket classes. Be done today.
> 
> Why do you think this worth to try?
> I mean what is wrong with the solution been proposed?

Sending e-mail via smtp require few iterations send-receive to/from  smtp server.
I consider it as a good example of using TSocket classes and ...
I think it is usefull in context of Carrot (for example, my 15old son who
played with C++ and Carrot asked me about it several times) 
 
Regards. Valeriy

>  
> > Regards. Valeriy
> > 
> > >
> > >
> > > Cheers, Fons.
> > >
> > >
> > >
> > > On Thu, 2004-01-22 at 08:58, Thomas Bretz wrote:
> > > > Dear all,
> > > >
> > > > is it possible to send eMails from the root environment? It would
> be a
> > > > very nice feature if root is able to access an SMTP host, eg for
> sending
> > > > reports about automatic procedures...
> > > >
> > > > Thanks,
> > > > Thomas.
> > > --
> > > Org:    CERN, European Laboratory for Particle Physics.
> > > Mail:   1211 Geneve 23, Switzerland
> > > E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> > > WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
> > >
> > >
> 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET