This is far from complete, and 'rcom' is not part of R (it might be a
contributed package of that name). If you mean that contributed
package, please follow the posting guide and ask its maintainer for
advice (although the question seems to be about Windows, not R).
Note that R itself has a create.post() function that usually does a good
enough job of sending emails.
On 05/03/2012 09:37, Jadhav, Alok wrote:
Hi,
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-help@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
______________________________________________
R-help@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.