Browse Source

update mail msg

develop
Prabuddha Chakraborty 9 years ago
parent
commit
861005fc30
  1. 8
      ee/cli/plugins/site_functions.py

8
ee/cli/plugins/site_functions.py

@ -1279,10 +1279,10 @@ def renewLetsEncrypt(self, ee_domain_name):
Log.error(self, "Your current cert already EXPIRED !",False) Log.error(self, "Your current cert already EXPIRED !",False)
EESendMail("easyengine@{0}".format(ee_domain_name), ee_wp_email, "[FAIL] SSL cert renewal {0}".format(ee_domain_name), EESendMail("easyengine@{0}".format(ee_domain_name), ee_wp_email, "[FAIL] SSL cert renewal {0}".format(ee_domain_name),
"Hey Hi,\n\nSSL Cert renewal for https://{0} was unsuccesful.".format(ee_domain_name) + "Hey Hi,\n\nSSL Certificate renewal for https://{0} was unsuccesful.".format(ee_domain_name) +
"\nPlease check log for reason. Your SSL Expiry date : " + "\nPlease check easyengine log for reason. Your SSL Expiry date : " +
str(SSL.getExpirationDate(self,ee_domain_name)) + str(SSL.getExpirationDate(self,ee_domain_name)) +
"\n\nYour's faithfully,\nEasyEngine",files=mail_list, "\nFor support visit https://easyengine.io/support/ .\n\nYour's faithfully,\nEasyEngine",files=mail_list,
port=25, isTls=False) port=25, isTls=False)
Log.error(self, "Check logs for reason " Log.error(self, "Check logs for reason "
"`tail /var/log/ee/ee.log` & Try Again!!!") "`tail /var/log/ee/ee.log` & Try Again!!!")
@ -1290,7 +1290,7 @@ def renewLetsEncrypt(self, ee_domain_name):
EEGit.add(self, ["/etc/letsencrypt"], EEGit.add(self, ["/etc/letsencrypt"],
msg="Adding letsencrypt folder") msg="Adding letsencrypt folder")
EESendMail("easyengine@{0}".format(ee_domain_name), ee_wp_email, "[SUCCESS] SSL cert renewal {0}".format(ee_domain_name), EESendMail("easyengine@{0}".format(ee_domain_name), ee_wp_email, "[SUCCESS] SSL cert renewal {0}".format(ee_domain_name),
"Hey Hi,\n\nYour SSL Cert has been renewed for https://{0} .".format(ee_domain_name) + "Hey Hi,\n\nYour SSL Certificate has been renewed for https://{0} .".format(ee_domain_name) +
"\nYour SSL will Expire on : " + "\nYour SSL will Expire on : " +
str(SSL.getExpirationDate(self,ee_domain_name)) + str(SSL.getExpirationDate(self,ee_domain_name)) +
"\n\nYour's faithfully,\nEasyEngine",files=mail_list, "\n\nYour's faithfully,\nEasyEngine",files=mail_list,

Loading…
Cancel
Save