Forums

chronoform email html format issue

kwok 08 Mar, 2016
(1) In Email Action:

Email format = HTML

Template generation = Custom

(2) Email template:

Hello {seller_user_name},

{buyer_user_name} has made an offer to your item:

<a href="{seller_item_link}">{seller_item_name}</a>

Please kindly check it out at <a href="http://www.xxx.com/index.php/my-item">My Item</a> at your earliest convenience.


(3) Received email in yahoo and gmail:
Hello seller1,
buyer1 has made an offer to your item:
<a href="http://www.xxx.com/index.php?id=72">Vase</a>

Please kindly check it out at <a href="http://www.xxx.com/index.php/my-item">My Item</a> at your earliest convenience.


(4) The url should be hidden while "Vase" and "My Item" should be clickable to get to that url.

What have I missed in the email action?
GreyHead 08 Mar, 2016
Hi kwok,

It looks to me as if the emails aren't being sent in HTML - is that possible?

Bob
kwok 08 Mar, 2016
Hi Bob,

I thought this setting

Email format = HTML

is sufficient.

Is there a joomla configuration to do? Or it is related to hosting site?

Thanks,
Kwok
GreyHead 09 Mar, 2016
Hi kwok,

it should be sufficient - but then your links should show as links. Have you checked the source of the Email to see what is there?

Bob
kwok 09 Mar, 2016
Hi Bob,

1. Source code in chronoform:
<p>Hello {seller_user_name},</p>
<p>{buyer_user_name} has made an offer to your item: </p>
<p><a href="{seller_item_link}">{seller_item_name}</a></p>
<p> </p>
<p>Please kindly check it out at <a href="http://www.xxx.com/index.php/my-item">My Item</a> at your earliest convenience.</p>
<p> </p>


2. Source code on received email as examined through firefox:
<p id="yui_3_16_0_1_1457537646591_2032">Hello‌·seller1,</p>
‌¶
<p id="yui_3_16_0_1_1457537646591_2054">buyer1‌·has‌·made‌·a‌n‌·offer‌·to‌·your‌·item: </p>
‌¶
<p id="yui_3_16_0_1_1457537646591_2035"><a‌·href="http://www.xxx.com/index.php?id=72">Vase</a></p>
‌¶
<p id="yui_3_16_0_1_1457537646591_2036"> </p>
‌¶
<p id="yui_3_16_0_1_1457537646591_2037">Please‌·kindly‌·check‌·it‌·out‌·at‌·<a‌·href="http://www.xxx.com/index.php/my-item">My‌·Item</a>‌·at‌·your‌·earliest‌·convenience.</p>
GreyHead 09 Mar, 2016
Hi kwok,

In the ChronoForms code you have got < instead of < see here <p><a href=

Not sure where that is happening. Are you using a Rich Text Editor to create the template?

Bob
kwok 10 Mar, 2016
Hi Bob,

Yes, I used < and > to enclose the hyperlink.

But when I toggle editor and save in Email Action, the source code becomes <.

I thought that's what chronoform requires.

I correct it back to < and >. Now, the received email looks great with clickable hyperlink.

Thanks a lot for your prompt support and patience.

Really appreciate!

Kwok
This topic is locked and no more replies can be posted.