Skip Navigation

[Resolved] New User created e-mail message raw template

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 5 replies, has 2 voices.

Last updated by Nigel 6 years, 2 months ago.

Assisted by: Nigel.

Author
Posts
#617564
2018-02-19_22-40-43.png
2018-02-18_11-55-53.png

Hi there, I have a problem with email template been sent after new user registration (seems to me this appeared after upgrade to latest plugin versions) but anyway:

Screen1 -2018-02-18_11-55-53.png- test email after sucessful user registration via CRED-from looks like this, works great when I press send test e-mail button via Toolset admin page of user-registration form

Screen2 -2018-02-19_22-40-43.png- that what I got in admin mail after user-registration

Link to create user form - hidden link

Code that inserted in e-mail Body template didn't inserted in mail:
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tbody>
<tr>
<td style="padding: 10px;">
<table cellspacing="0" cellpadding="0" align="center" bgcolor="#ffffff">
<tbody>
<tr style="margin-top: 0px; padding-top: 0px;">
<td style="width: 100%;" align="center">
<div style="border: solid 7.5px #EED8CE; border-radius: 25px 5px 2.5px 2.5px;">
<table id="header" style="line-height: 1.6; font-size: 12px; font-family: Helvetica, Arial, sans-serif; border: 0px solid #ffffff; color: #444444; height: 100px; width: 100%;" border="0px" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tbody>
<tr style="height: 24px;" bgcolor="#263642">
<td style="color: #ffffff; height: 24px; width: 20px;" colspan="2" valign="vbottom"><img class="alignnone size-medium wp-image-509" style="color: #444444; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em;" src="hidden link" alt="" width="217" height="76" /></td>
</tr>
</tbody>
</table>
</div>
<table id="content" style="margin-top: 15px; margin-right: 0px; margin-left: 0px; color: #444444; line-height: 1.6; font-size: 12px; font-family: Arial, sans-serif; height: 58px;" border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tbody>
<tr>
<td style="border-top: 1px solid #d9d9d9; width: 75%;" colspan="2">
<div style="padding: 15px 0;">
<p>%%FORM_NAME%% %%DATE_TIME%%</p>
<p>Имя пользователя: %%USER_USERNAME%%</p>
<p>Почтовый адрес: %%USER_EMAIL%%</p>
<p>Пароль: %%USER_PASSWORD%%</p>
<p>Сбросить пароль: %%RESET_PASSWORD_LINK%%</p>
</div></td>
</tr>
</tbody>
</table>
<table id="footer" style="line-height: 1.5; font-size: 12px; font-family: Arial, sans-serif; margin-right: 0px; margin-left: 0px; width: 100%; height: 262px;" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tbody>
<tr style="font-size: 11px; color: #999999;">
<td style="border-top: 1px solid #d9d9d9; width: 692.667px;" colspan="2">
<h3 style="padding-top: 15px; padding-bottom: 1px;">С уважением и любовью, всегда Ваша, команда DNK Cosmetics</h3>
<div style="padding-top: 15px; padding-bottom: 1px;"><img style="vertical-align: middle;" src="hidden link" alt="Дата" width="13" height="13" /> Email отправлен %date% @ %time%</div>
<div><img style="vertical-align: middle;" src="hidden link" alt="Контакт" width="12" height="12" /> Если у вас есть вопросы, вы хотите оставить отзыв о нашей работе или поделиться опытом, пожалуйста, напишите нам: <a href="mailto:%admin_email%">info@soapmaker.pro</a></div></td>
</tr>
<tr style="font-size: 11px; color: #999999;">
<td style="border-top: 1px solid #d9d9d9; width: 75%;" colspan="2">
<div style="padding-top: 15px; padding-bottom: 1px; text-transform: uppercase;">Натуральная косметика ручной работы DNK</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

#617723

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Screen Shot 2018-02-20 at 09.18.15.png

Hi Dmitry

I tried this on a local test site, using an HTML email for the notification, and it worked fine.

(In fact I used your mail template and just changed the image.)

I'm wondering if the issue is with your email client receiving the mail?

Can you install the WP Mail Log plugin which keeps a record of all of the emails sent through WordPress.

You can then inspect the message that was sent, seeing it in HTML format (as per my screenshot) or the raw text of the message.

In your case the raw text has the table markup of the template stripped?

#617958

Hello Nigel, uhhh, can you please give a link to that plugin - can't find exactly the same by search in depository

Thank you!

#617959

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Sorry, it's WP Mail Logging: https://wordpress.org/plugins/wp-mail-logging/

#618156
2018-02-21_10-51-59.png

Hello Nigel, let's see whats we got after plugin (see attached). It look's like Toolset didn't get the html I inserted in mail body...

#618159

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Then it looks like there may be a conflict with another plugin or your theme that is stripping the HTML (given that it works okay on my local test site).

Can you try disabling all non-Toolset plugins (except WP Mail Logging) and switch to twentyseventeen and then test again?

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.