SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist silversurfer5150's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question HTML Email Compose

    Hi guys,

    I had a client recently who wished me to create a HTML email template which was no problem as I didn't struggle with coding it, just used tables, inline styles etc etc
    I have programmed them before but I usually automate the whole process using php, including the attachment of images etc.
    I have 2 questions:

    This email is a one off that my client wished to send manually, I notice that Gmail and Hotmail and others allow you to read HTML emails but not to compose them so what is the best way for my client to use his pretty new template.

    Secondly I have used full urls to his website logo images as presumably the recipient will be online when he/she reads the email which should load those images fine. What is the alternative in case they are offline, if my client is sending the email manually, shall I just instruct him to attach the images and if he does that how do I provide a substitute url in the HTML to deal with those relative image paths?

    thanks

    Silversurfer
    "Persistence is the path to perfection"

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,321
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by silversurfer5150 View Post
    I notice that Gmail and Hotmail and others allow you to read HTML emails but not to compose them so what is the best way for my client to use his pretty new template.
    Thunderbird allows you to send HTML emails, and also Outlook (I think it still does, anyhow). Or you can open the email in Safari and choose to send it as an email. Quite handy.

    how do I provide a substitute url in the HTML to deal with those relative image paths?
    You could embed the images by converting them into raw code.

    http://css-tricks.com/data-uris/
    http://websemantics.co.uk/online_too...uri_convertor/

    It's not totally reliable, though:
    http://www.campaignmonitor.com/blog/...ages-in-email/

  3. #3
    SitePoint Evangelist silversurfer5150's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Ralph thats great, very interesting about the image embedding too tho, probably won't go that far, hes not paying me enough LOL

    What about these online email templating services? Can you recommend a good one of those that he could just input my code and save for reuse later? Need one that can send the email as though it's from his address I guess.
    "Persistence is the path to perfection"

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,321
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by silversurfer5150 View Post
    What about these online email templating services? Can you recommend a good one of those that he could just input my code and save for reuse later? Need one that can send the email as though it's from his address I guess.
    I've only used CampaignMonitor, and can highly recommend it. It's superb. You get great stats on the emails, templates are easy to set up and reuse, the email comes from your own domain name etc. etc. A popular alternative is MailChimp.

  5. #5
    SitePoint Evangelist silversurfer5150's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok thanks for your advice Ralph I'll check it out
    "Persistence is the path to perfection"


Bookmarks

Posting Permissions

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