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.

Reply via email to