I am setting up my R environment on windows 7 for the first time. I am
not able to send emails from my R sessions. I am having problem in
creating outlook com object to send emails. Same code works fine from my
windows xp setup.
Following is the code
(If outlook is already running on PC)
x <- outlook()
mail <- x$CreateItem(0)
Mail object is NULL in above case.
If outlook is not running, then mail object is created properly. But
still the mail is not sent. I think this is because the port 25 is not
open by default on the workstation as per the admin policies. I will
ask the admin to open the port 25 for me and test it, but I cannot rely
on the fact that outlook is open or closed on PC. Why mail object is not
created in first case. Is there any setup required for windows 7 env?
Regards,
Alok
Please follow the attached hyperlink to an important disclaimer
http://www.credit-suisse.com/asiapac/legal/securities/
===============================================================================
Please access the attached hyperlink for an important el...{{dropped:8}}
______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Note that R itself has a create.post() function that usually does a good
enough job of sending emails.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
Regards,
Alok
Please follow the attached hyperlink to an important disclaimer
http://www.credit-suisse.com/asiapac/legal/securities/
> ========= Please access the attached hyperlink for an important
> el...{{dropped:8}}
>
> ______________________________________________
> R-h...@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
===============================================================================
Please access the attached hyperlink for an important el...{{dropped:4}}