Results 1 to 12 of 12

Thread: html email layout messed up

  1. #1
    Join Date
    Oct 2013

    html email layout messed up

    Hey guys,

    so I've been working on this html email for quite some time now.. had some problems which I already solved out.
    But here's the main thing (that I don't understand). The mail looks good in the browser, the code is quite clean (I hope) but as soon as I test it, it's just f*cked up.. I am using Mozilla Thunderbird. Also it tells me, that there was a problem attaching the images (and if I want to send the email anyway).

    Link to the code

    I am doing this for a client and I am getting really short on time. Any clue or tips on what to do will be highly appreciated.

  2. #2
    Join Date
    Oct 2013
    nobody? come on, nobody's sending emails through Thunderbird?

  3. #3
    Join Date
    Mar 2011
    First of all, there is very limited support for CSS in EMail clients. You can't use properties like the 'mso-' or vendor-specific '-webkit'. Your HTML needs work as well, but for general guideance the best resource I know of is this Guide to CSS Support in Email.
    Rick Trethewey
    Rainbo Design

  4. #4
    Join Date
    Oct 2013
    ok, thanks for the tip. I'll go through that. The only problem Thunderbird is giving me is that it doesn't send the images...
    "There was a problem attaching the filename.jpg file, do you want to send the email anyway?"

    I am using mediafire.com to host the images online. When I send the email just by copying it into gmail, all works fine.

  5. #5
    Join Date
    Mar 2011
    It's not clear what you're trying to do, but keep in mind that a file sent as an attachment must reside on your computer. It can't be something that exists out on the web somewhere because the Email program has to read the data and encode it into the Email message. It's not the same as using the HTML <img> tag in the message <body>.
    Rick Trethewey
    Rainbo Design

  6. #6
    Join Date
    Oct 2013
    well, I am just trying to send a html email. It looks alright when I enter the html code..

    but when I try to send it, an error message pops up (for every image that the mail contains)
    It's in my language (because Thunderbird doesn't even offer language options) but it says what I wrote the previous post.

    The code for all the images is like this:
    HTML Code:
    img src="http://www.mediafire.com/convkey/0966/3742rgmrt7tm7drfg.jpg"

  7. #7
    Join Date
    Mar 2012

    Please read post #5 by rtrethewey, he has already explained why that will not work. For convenience I'll quote him:
    ...keep in mind that a file sent as an attachment must reside on your computer.

  8. #8
    Join Date
    Oct 2013
    But I am not trying to attach those images.. I just want my email - that contains those images - to display normally. With html email, you have to have the images hosted online.

  9. #9
    Join Date
    Mar 2012
    There is a similar problem on the TB Support:

    Apologies for the late reply. I have now tested HTML signature with other accounts and it works fine. I've gone back and retested with TB and it is still not being received at the recipients address. I've checked the file, saved the image locally and ran other suggested diagnostics with no luck. Any ideas.
    Which suggests that there may be a problem with TB and HTML emails including images. In any case, I would have thought that you should consider raising your issue there?
    Last edited by jedaisoul; 07-26-2014 at 03:01 PM.

  10. #10
    Join Date
    Oct 2013
    alright, thank you. I already wrote on the support forum there, so I am going to check this one out too.

  11. #11
    You really are using a whole slew of things that HTML mail clients flat out don't support properly if at all... things like the STYLE attribute... You cannot rely on it and should not use it.

    With HMTL e-mails you basicially have to dial the clock back to 1997 and pretend anything newer than HTML 3.2 does not exist. That means NO CSS -- at all. Even if a handful of mail clients attempt to support it, the simple fact is support is partial at best, an unreliable mess at worst.

    NOT that I believe in sending HTML e-mails in the first place, or if I did send them I'd send multi-encoded so there's a plaintext version too, since HTML e-mails are often used as a spam filter since there's no legitimate reason for 'real' e-mails to even have HTML in them; you can pretty much assume if it's an HTML mail, it's spam.

    Oh, BTW, you do know mediafire blocks hotlinking, right?

  12. #12
    Join Date
    Oct 2013
    hmm, I didn't know that about mediafire. I was going to use my Google drive, but it was too complicated to get the actual img url.
    I was able to get it working using this
    but maybe I should change the image hosting then..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.11714 seconds
  • Memory Usage 2,962KB
  • Queries Executed 14 (?)
More Information
Template Usage (35):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (12)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (12)postbit
  • (12)postbit_onlinestatus
  • (12)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (71):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • fetch_postattach_query
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates