可以的,把邮箱地址写完全。
123 options emailsys=SMTP;
124 options emailauthprotocol=LOGIN;
125 options emailhost="smtp.163.com";
126 options emailid="xxxx@163.com";
127 options emailpw=XXXXXXXXXXX;
128 options emailport=25;
129
130 filename mymail EMAIL "xxxxx@126.com" subject="2aêÔ" encoding=gb2312;
131 data _null_;
132 file mymail;
133 put 'TEST:HAPPY NEW YEAR';
134 run;
NOTE: The file MYMAIL is:
E-Mail Access Device
Message sent
To: "xxxx@126.com"
Cc:
Bcc:
Subject: 2aêÔ
Attachments:
NOTE: 1 record was written to the file MYMAIL.
The minimum record length was 19.
The maximum record length was 19.
NOTE: DATA statement used (Total process time):
real time 0.70 seconds
cpu time 0.01 seconds
135
136 filename mymail clear;
NOTE: Fileref MYMAIL has been deassigned.


雷达卡






京公网安备 11010802022788号







