{"id":1259,"date":"2021-08-14T16:59:28","date_gmt":"2021-08-14T16:59:28","guid":{"rendered":"https:\/\/html5-chat.com\/blog\/?p=1259"},"modified":"2021-08-14T16:59:29","modified_gmt":"2021-08-14T16:59:29","slug":"sending-customized-emails","status":"publish","type":"post","link":"https:\/\/html5-chat.com\/blog\/sending-customized-emails\/","title":{"rendered":"Sending customized emails"},"content":{"rendered":"\n<p>Many people asked for the possibility of sending customized emails. The emails are sent when the chat uses the user registration and more precisely:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>when a new user <strong>registers <\/strong>to the chat (register)<\/li><li>when an users <strong>forgets <\/strong>his password and requests the password (forgotten)<\/li><\/ul>\n\n\n\n<p>In these 2 cases, you can customize email sending.<\/p>\n\n\n\n<p><strong>If you use\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/html5-chat.com\/blog\/jwt-a-quicker-and-simpler-version-using-the-html5-service\/\" target=\"_blank\">JWT<\/a>\u00a0or if you use guests only, this feature has no effect at all.Important<\/strong>: You email template can include dynamic fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>{{email}}<\/strong>\u00a0: the email of the user<\/li><li><strong>{{username}}<\/strong>\u00a0: the username of the user<\/li><li><strong>{{password}}<\/strong>\u00a0: the password of the user<\/li><li><strong>{{confirmation}}<\/strong>\u00a0: this is the Confirmation link : YOU MUST USE THAT in &#8220;<strong>register<\/strong>&#8221; email, so users can click the confirmation link to enter the chat<\/li><\/ul>\n\n\n\n<p>Ex:&nbsp;<strong>Hello {{username}}. Your password is {{password}}<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><em>Notice: If you want to include images, all images needs to be remote and starting with https:\/\/. <\/em><br><em>Warning. You cannot use classical HTML for email. You can\u00a0<a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/mailbakery.com\/blog\/email-code-dos-donts\/\">read more info<\/a>\u00a0about html and email.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Who sends the email ?<\/h2>\n\n\n\n<p> Our SMTP server sends emails, so our sender is visible (noReply@html5-chat.com), if you want to change the sender (from) email, we need to add your domain name in our white list, and you need to confirm that with a new DNS entry. Since it is a manual process, there is one time fee for it of 20 euros (please <a href=\"\/contact\">contact <\/a>us if you need that feature)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many people asked for the possibility of sending customized emails. The emails are sent when the chat uses the user registration and more precisely: when a new user registers to the chat (register) when an users forgets his password and requests the password (forgotten) In these 2 cases, you can customize email sending. If you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1263,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[181],"class_list":["post-1259","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-features","tag-email"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/1259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/comments?post=1259"}],"version-history":[{"count":3,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/1259\/revisions"}],"predecessor-version":[{"id":1264,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/1259\/revisions\/1264"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/media\/1263"}],"wp:attachment":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/media?parent=1259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/categories?post=1259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/tags?post=1259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}