SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
alepage
Barite | Level 11

Hello,

 

I would like to send a report by email but I receive the following error message:

 

ERROR: E-mail : 452 4.3.1 Insufficient system resources

 

Here's a test code:

 

%macro rapport;
proc report data=sashelp.class;
col name age sex;
define name / style(column)=[cellwidth=1in];
define age / style(column)=[cellwidth=.5in];
define sex / style(column)=[cellwidth=.5in];
title "Using the CELLWIDTH= Style with PROC REPORT";
run;
%mend rapport;
%rapport;

%Macro Email_test(prenom,nom);
%global courriel Name Name2;
data _null_;
call symput ("Name",&Firstname.||" "||&Lastname.);

/*You can change the email extention @gmail.com for your email server name */
call symput ("email",&Firstname.||"."||&Lastname.||"@gmail.com");
call symput ("Name2","'"||&FirstName.||" "||&Lastname.||"'");
run;
options emailsys = SMTP;
options emailhost = confidential;
FILENAME mail EMAIL TO=("&email." )
SUBJECT="Test - Report for: &Name" CONTENT_TYPE="text/html";
ODS LISTING CLOSE;
ODS HTML BODY=mail;
%rapport;
ODS HTML CLOSE;
ODS LISTING;
%mend Email_Test;
%Email_Test('firstname','lastname');

 

Does anyone already saw this error message and how can we solve it.

regards,

 

Alain.

1 ACCEPTED SOLUTION

Accepted Solutions
alepage
Barite | Level 11

The members of the support team found that it was a problem related to our email server.  Nothing to do with SAS.

Regards,

View solution in original post

2 REPLIES 2
alepage
Barite | Level 11

Here's a test code ver2:

 

%macro report;
proc report data=sashelp.class;
col name age sex;
define name / style(column)=[cellwidth=1in];
define age / style(column)=[cellwidth=.5in];
define sex / style(column)=[cellwidth=.5in];
title "Using the CELLWIDTH= Style with PROC REPORT";
run;
%mend report;
%report;

%Macro Email_test(Firstname,Lastname);
%global email Name Name2;
data _null_;
call symput ("Name",&Firstname.||" "||&Lastname.);

/*You can change the email extention @gmail.com for your email server name */
call symput ("email",&Firstname.||"."||&Lastname.||"@gmail.com");
call symput ("Name2","'"||&FirstName.||" "||&Lastname.||"'");
run;
options emailsys = SMTP;
options emailhost = confidential;
FILENAME mail EMAIL TO=("&email." )
SUBJECT="Test - Report for: &Name" CONTENT_TYPE="text/html";
ODS LISTING CLOSE;
ODS HTML BODY=mail;
%report;
ODS HTML CLOSE;
ODS LISTING;
%mend Email_Test;
%Email_Test('firstname','lastname');

 

Does anyone already saw this error message and how can we solve it.

regards,

alepage
Barite | Level 11

The members of the support team found that it was a problem related to our email server.  Nothing to do with SAS.

Regards,

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2790 views
  • 0 likes
  • 1 in conversation