作者MOONY135 (谈无慾)
看板Statistics
标题[程式] sas寄信code
时间Sat Nov 8 10:14:04 2014
[软体程式类别]:
请填入软体程式类别,例如:SAS、SPSS、R、EVIEWS...等
sas
[程式问题]:
系统问题
[软体熟悉度]:
请把以下不需要的部份删除
中
[问题叙述]:
大家好 我想试着用gmail来寄信...
但网路上找到的sas code会过编译但是没有作用
不知道大家有没有用过这功能?
options emailhost=
(
"smtp.gmail.com" port=465
SSL auth=plain
/* your Gmail address */
id="
[email protected]"
/* optional: encode PW with PROC PWENCODE */
pw="your_password"
)
;
filename myemail EMAIL
to="
[email protected]"
subject="Read SAS blogs";
data _null_;
file myemail;
put "Dear Friend,";
put "I recommend that you read
http://blogs.sas.com ";
put "for lots of SAS news and tips.";
run;
filename myemail clear;
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 111.254.121.87
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/Statistics/M.1415412848.A.CEE.html