@Arthur Sanchez   I think you are not in global scope , hence you are having an issue .

 

Attached screenshot for your reference, change it to global scope then you will be able to change the email properties.  

 

Just for information, if "globe" icon shows red circle then you are not in global scope. 

 

Scope.PNG

 

Thanks,

Harsh

Dr Atul G- LNG
Tera Patron

Hi @Arthur Sanchez  

 

To send email, the email property must be enabled, and once these enabled only then email will be go or come in side. 

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

AniketC85155510
Kilo Patron

Hello @Arthur Sanchez  ,

Please ensure that you are in the global application scope. If you are in any other application scope, you won't be able to edit anything here.

Could you please try right-clicking on that property to see if it allows you to change it?

Also The system property 'glide.email.smtp.active' is currently set to False and is read-only. However, you can change its value to True using a background script. Please paste and execute the following script in your background script:

var gr = new GlideRecord('sys_properties');
gr.addActiveQuery();
gr.addQuery('name','glide.email.smtp.active');
gr.query();
if (gr.next()) {
    gr.value = 'true';
    gr.update();
    gs.print("The value of 'glide.email.smtp.active' has been updated to: " + gr.value);
} else {
    gs.print("Unable to find the system property 'glide.email.smtp.active'.");
}


Also below below conversion can be helpful:

 

Let me know it helps you or not so that we can proceed with it accordingly and if it helped then,

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks & Regards,

Aniket.

View solution in original post

So I need to be in a global application to be able to change those email settings? ok now this leads me to other questions, how do I export my application in studio to save what was done? and how do I exit the application I created to go global?

Hello @Arthur Sanchez  ,

 

Firstly, ensure that you save any ongoing work within the same application you are currently in. Afterward, proceed with the following steps:

  1. Switch to the Global application.
  2. Attempt to edit the email properties.
  3. If you are unable to edit them, try the second approach using a background script.

 

AniketChavan_0-1710787635286.png

 

Let me know if you have any further questions or concerns.

 

View solution in original post