Mailback HTML codes are stripping

  • monsterazor
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 31
  • Thank you received: 0

monsterazor created the topic: Mailback HTML codes are stripping

Hi again;

I am using custom HTML codes for mailback. After apply my HTML codes, some codes about background properties are stripping .

There is my HTML code.
<!DOCTYPE html>
<html>
<head>
<style>
html {
    min-height: 100%;
}
 
body {
    background: -webkit-linear-gradient(left, #D8C4A3, #E0B875); 
    background: -o-linear-gradient(right, #D8C4A3, #E0B875);
    background: -moz-linear-gradient(right, #D8C4A3, #E0B875); 
    background: linear-gradient(to right, #D8C4A3, #E0B875); 
    background-color: #D8C4A3; 
}
</style>
</head>
<body>
<p> </p>
<table style="border: 10px #683C11 solid; width: 90%; height: 100%; margin-left: 5%; margin-right: 5%;">
<tbody>
<tr>
<th style="border: 8px #683C11 solid;">
<p><img class="pull-center" style="display: block; margin-left: auto; margin-right: auto;" src="https://arormanurunleri.com/images/mailheader.png" alt="" /></p>
</th>
</tr>
<tr>
<td style="border: 5px #683C11 solid;">
<p style="text-align: center;"><span style="color: #000000;"> </span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>Özel ölçü kesimine ilişkin sipariş detaylarınız aşağıdadır. Siparişinize ilişkin en kısa sürede tarafınıza geri dönülecektir.</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>İlginiz için teşekkür ederiz.</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{uzunluk:label}: {uzunluk:value} cm</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{en:label}: {en:value} cm</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{kalinlik:label}: {kalinlik:value} {birim:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{adet:label}: {adet:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{agaccinsi:label}: {agaccinsi:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{aciklama:label}: {aciklama:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"> </span></p>
</td>
</tr>
<tr>
<td style="border: 5px #683C11 solid;">
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size:24px;"><strong>AR Orman Ürünleri</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size:22px;"><strong>Ereğli Cad. No:32/B Siteler - Ankara</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size:22px;"><strong>0312 349 4295</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size:22px;"><strong>0506 280 2282</strong></span></p>
</td>
</tr>
</tbody>
</table>
</body>
</html>

I'm waiting for your reply.
#237477
  • monsterazor
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 31
  • Thank you received: 0

monsterazor replied the topic: Mailback HTML codes are stripping

Aren't there anybody to help about this ?
#237606
  • Eddy.vh
  • Eddy.vh's Avatar
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 236
  • Karma: 1
  • Thank you received: 26

Eddy.vh replied the topic: Mailback HTML codes are stripping

Hello.
For an E-Mail you do not need the header html, title, body, etc..
Try to leave only your styles and your table. The emailer should interpret the message correctly.
#237615
  • monsterazor
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 31
  • Thank you received: 0

monsterazor replied the topic: Mailback HTML codes are stripping

Hi again;

I tried it and revised by me.
<style>
html {
    min-height: 100%;
    background: -webkit-linear-gradient(left, #D8C4A3, #E0B875); 
    background: -o-linear-gradient(right, #D8C4A3, #E0B875);
    background: -moz-linear-gradient(right, #D8C4A3, #E0B875); 
    background: linear-gradient(to right, #D8C4A3, #E0B875); 
    background-color: #D8C4A3; 
}
</style>
<table style="border: 10px #683C11 solid; width: 90%; height: 100%; margin-left: 5%; margin-right: 5%;">
<th style="border: 8px #683C11 solid;">
<p><img class="pull-center" style="display: block; margin-left: auto; margin-right: auto;" src="https://arormanurunleri.com/images/mailheader.png" alt="" /></p>
</tr>
<td style="border: 5px #683C11 solid;">
<p style="text-align: center;"><span style="color: #000000;"> </span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>Özel ölçü kesimine ilişkin sipariş detaylarınız aşağıdadır. Siparişinize ilişkin en kısa sürede tarafınıza geri dönülecektir.</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>İlginiz için teşekkür ederiz.</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{uzunluk:label}: {uzunluk:value} cm</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{en:label}: {en:value} cm</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{kalinlik:label}: {kalinlik:value} {birim:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{adet:label}: {adet:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{agaccinsi:label}: {agaccinsi:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{aciklama:label}: {aciklama:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"> </span></p>
</tr>
<td style="border: 5px #683C11 solid;">
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size:24px;"><strong>AR Orman Ürünleri</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size:22px;"><strong>Ereğli Cad. No:32/B Siteler - Ankara</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size:22px;"><strong>0312 349 4295</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size:22px;"><strong>0506 280 2282</strong></span></p>

After that I saved my code. But my codes are striping like this. And here is stripping codes.
<p><img class="pull-center" style="display: block; margin-left: auto; margin-right: auto;" src="images/mailheader.png" alt="" /></p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><span style="color: #000000;"><strong>Özel ölçü kesimine ilişkin sipariş detaylarınız aşağıdadır. Siparişinize ilişkin en kısa sürede tarafınıza geri dönülecektir.</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>İlginiz için teşekkür ederiz.</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{uzunluk:label}: {uzunluk:value} cm</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{en:label}: {en:value} cm</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{kalinlik:label}: {kalinlik:value} {birim:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{adet:label}: {adet:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{agaccinsi:label}: {agaccinsi:value}</strong></span></p>
<p style="text-align: center;"><span style="color: #000000;"><strong>{aciklama:label}: {aciklama:value}</strong></span></p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size: 24px;"><strong>AR Orman Ürünleri</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size: 22px;"><strong>Ereğli Cad. No:32/B Siteler - Ankara</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size: 22px;"><strong>0312 349 4295</strong></span></p>
<p style="text-align: center;"><span style="text-align: center; color: #683c11; font-size: 22px;"><strong>0506 280 2282</strong></span></p>
#237644
  • Eddy.vh
  • Eddy.vh's Avatar
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 236
  • Karma: 1
  • Thank you received: 26

Eddy.vh replied the topic: Mailback HTML codes are stripping

Hello.
What is the text editor of the site (tiny, JCE, etc.)? Are there any restrictions on html code, automatic correction?
These parameters should be checked and adapted as necessary.
#237649
  • monsterazor
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 31
  • Thank you received: 0

monsterazor replied the topic: Mailback HTML codes are stripping

Hi again;
My default text editor is TinyMCE.
#237739
Moderators: ForumSupporttomeperica
Time to create page: 0.081 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here