I am using following configuration for the the erpnext instance for setting default outgoing SMTP Server programmatically . But it doesn’t work.
{
“db_name”: “f2bc298b7c”,
“db_password”: “x5oWvYP6PieoviA2”,
“mailserver”: “smtp.example.com”,
“mailport”: 587,
“usessl”: 1,
“maillogin”: “[email protected]”,
“mailpassword”: “password”,
“autoemailid”: “[email protected]”,
“emailsendername”: “Notifications”,
“alwaysuseaccountemailidas_sender”: 0
}