BookmarkSubscribeRSS Feed
xxformat_com
Barite | Level 11

Hi,

 

Thanks to this post I've been able to send email using Hotmail and everything works fine.

 

https://communities.sas.com/t5/Base-SAS-Programming/sending-emails-from-sas/m-p/247128

 

I've now tried to adapt the code to send email from my OVH account. The email is sent properly but no copy of the sent email is put on my Sent folder.

 

Would you have any recommendation?

 

Best Regards,

 

 

options emailsys = smtp
emailid   = 'myname@mydomaine.com'
emailpw   = 'mypassword'
emailhost = 'ssl0.ovh.net'
emailport = 25    EMAILACKWAIT=300;

options emailhost=("ssl0.ovh.net"
                   SSL auth=LOGIN
                   id="myname@mydomaine.com"
                   pw="mypassword" port=465);
filename f_email email to = 'test@hotmail.com'
                       from = 'myname@mydomaine.com'
                       subject = 'Sending an email from mydomain to hotmail';

data _null_;
file f_email;
put 'This is a test email sent from mydomain to hotmail.';
run;
filename f_email;
2 REPLIES 2
SASKiwi
PROC Star

This isn't a SAS problem, it is an email configuration problem. Try googling OVH configuration to find an answer.

xxformat_com
Barite | Level 11

I've already done it before sending the question and it didn't help.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 818 views
  • 0 likes
  • 2 in conversation