HTML code - Post ID 261282

User 2443897 Photo


Registered User
57 posts

Hi,

One form on a website is working fine. There is another form on the same website using the same confirm email and notifications code. That one comes out with the html code showing in the recipient's email.

I was looking through to see if someone else asked this on the forum and did not find it.

Thanks,
-Janette
User 2484360 Photo


Registered User
3,293 posts

Hey Janette,

Can you provide a link to the form in question?

Also, is the HTML code showing only on one recipients email or anyone who fills the form out?
User 2443897 Photo


Registered User
57 posts

Hi,

This is the one with the email problem: http://www.weimaranerfoundationfund.org … ctus.html.

Thanks!
User 2484360 Photo


Registered User
3,293 posts

Janette Stubelt wrote:
Hi,

This is the one with the email problem: http://www.weimaranerfoundationfund.org … ctus.html.

Thanks!


Thanks, can you also attach the .fb file?
User 2443897 Photo


Registered User
57 posts

Where do I find that?
User 2443897 Photo


Registered User
57 posts

Duh, form builder!

"Sorry, we couldn't add your post for the following reasons:
Your attachment must be one of: .TXT, .SNP, .ZIP, .RSD, .RLM, .RLMP, .RED, .GIF, .JPG, or .PNG format."
User 2484360 Photo


Registered User
3,293 posts

Janette Stubelt wrote:
Duh, form builder!

"Sorry, we couldn't add your post for the following reasons:
Your attachment must be one of: .TXT, .SNP, .ZIP, .RSD, .RLM, .RLMP, .RED, .GIF, .JPG, or .PNG format."


You would need to zip the file and attach it. If it is too large then upload it to your server and provide a link.
User 2443897 Photo


Registered User
57 posts

Trying to upload a zip...
Attachments:
User 2484360 Photo


Registered User
3,293 posts

Janette Stubelt wrote:
Trying to upload a zip...


Thanks! The issue here is that you have not created an HTML email. You do have HTML in the email code, but it is not correct. For an email you have to add all the HTML of a regular page, so you need the doctype, html (start and end), body (start and end) etc. This is why we recommend you use RED, as that will do all that for you, all you have to do is design the email. :P

Here is an example of what you need to include in an email:

<!DOCTYPE html>
<html dir="ltr" lang="en">
<head><title>Your Title</title></head>
<body style="background-color: #FFFFFF; padding-left: 110px; padding-top: 70px; padding-right: 20px; max-width: 700px; font-family: Helvetica, Arial;">
<style type="text/css">
body {background-color: #FFFFFF;padding-left: 110px;padding-top: 70px; padding-right: 20px;max-width:700px;font-family: Helvetica, Arial;}
p{font-size: 12px; color: #000000;}
h1{font-size: 18px !important;color: #000000 ! important;margin: 0px; border-bottom: 1px dotted #00A2FF; padding-bottom:3px;}
h2{font-size: 18px !important;color: #000000 ! important;margin: 0px; padding-bottom:3px;}
h3{font-size: 14px !important;color: #000000 ! important;margin: 0px; padding-bottom:3px;}
td {font-size: 12px !important; line-height: 30px;color: #000000 !important; margin: 0px;border-bottom: 1px solid #e9e9e9;}
td:first-child {font-size: 13px !important; font-weight:bold; color: #333 !important; vertical-align:text-top; min-width:100px; padding-right:5px;}
a:link {color:#666666; text-decoration:underline;} a:visited {color:#000000; text-decoration:none;} a:hover {color:#00A2FF;}
b{font-weight: bold;}
</style>

<body>
<!-- Your HTML Code Here -->
</body>
</html>
User 122279 Photo


Senior Advisor
14,649 posts

And the closing head tag just before the opening body tag ;)
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.