09-11-2016 03:35 PM
I created an account for Online SAS Studio using https://odamid.oda.sas.com/SASStudio/ for practicing my SAS skills.
Following Chris Hemedinger blog (http://blogs.sas.com/content/sasdummy/2013/07/31/gmail-from-sas-program/), I tried to implement the learning.
I intend to send email TO gmail, for which if I use following lines and it works like a charm (read on to get to know the problem)
filename myemail EMAIL
put "Hello Friend";
filename myemail clear;
However, when I use below lines of code on top of that, it errors out,
So basically it's erroring out when I am trying to use GMAIL as a SENDER.
I have already done the following :-
a) Enabled "Less secure apps" on my Gmail account in order to send e-mail from a non-Google application (including SAS).
b) Tried port 587, and STARTTLS instead of SSL.
Here is what the log looks like,
NOTE: The file MYEMAIL is:
09-11-2016 04:22 PM
To send email you need access to an email server and the online version won't have it. But you know it's possible if you ever do need to do this.
Remember that these are learning editions, not full editions of SAS.
09-11-2016 05:08 PM