I can't send email

Arthur Sanchez
Giga Guru

Build an application to send email when a record has been created or changed, but I can't do this, and it seems to me that it is necessary to have these conditions enabled, but I do not have access

 

8.png

Ah, I discovered Outbound Email Configuration, based on this guy's class: https://www.youtube.com/watch?v=fijlvJaQl9Y&t=640s I don't even know if it's necessary or not, I'm just trying to get my application to run

the application I created was this

Captura de tela 2024-03-18 142850.pngCaptura de tela 2024-03-18 142913.pngCaptura de tela 2024-03-18 142923.pngCaptura de tela 2024-03-18 142932.png

Inbound email actions in ServiceNow is a configuration which tells that how and what your ServiceNow instance will respond, when it receives email from user. The responses are based on the content of the email received. In this video demonstration of inbound email action script along with ...
3 ACCEPTED SOLUTIONS

Aniket Chavan
Tera Sage
Tera Sage

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

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

You need to make the changes like save or update in the same application in which your current record in like for example if you are trying to save the record which is from your newly created application then you need to change the application to your application which you created and the need to make the changes and if you are making the changes in the incident tabel in that case you again need to switch to global application since the incident in global application and then need to make the changes and save.

 

 

Also since I have gave you the correct answer your original question and since it worked as expected for you can you 

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

15 REPLIES 15

You need to make the changes like save or update in the same application in which your current record in like for example if you are trying to save the record which is from your newly created application then you need to change the application to your application which you created and the need to make the changes and if you are making the changes in the incident tabel in that case you again need to switch to global application since the incident in global application and then need to make the changes and save.

 

 

Also since I have gave you the correct answer your original question and since it worked as expected for you can you 

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.