Re: [ROOT] Send eMails...

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Thu Jan 22 2004 - 18:46:58 MET


 Hi,
few more comments:
Instead of using "/bin/mail"  (mail user agent) 
you can also use /usr/sbin/sendmail  (mail transfer agent), with TSystem::OpenPipe()  etc.
Check, for example, a book about sendmail at 
http://www.busan.edu/~nic/networking/

Regards. Valeriy
 

> Hi,
> 
> > 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.
> 
> 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