Question : How to gracefully degrade html formatted emails when not online!

Hi all,
I don't know if this is the correct place to ask this!
This is the situation:
I'm sending html emails & the user collects the emails (for example when syncing with their laptop) & then they go to view the emails BUT AREN'T ONLINE ANYMORE!
I want the html emails dynamic parts to fail gracefully, i.e. where a dynamic graph would be loaded I want a nice "You're not online!" or something!

I know there's a javascript function to check online use:
if ( navigator.onLine )
eg.


But I feel there will be more issues to deal with when it comes to using more dynamic content & multiple email clients etc.
Has anyone had experience with this?
Best,
Al


Answer : How to gracefully degrade html formatted emails when not online!

You know, this is one of those things that you can't reliably say - "I've sorted it".

What if the recipient didn't allow HTML mails at all????

Okay, for the sake of being optimistic, let us say they have enabled HTML mails. Now what if they were not online?

Hmmm.. tricky. But the only possibility would be to "Send graphics with the mail" feature many clients support. Basically such clients implement Multipurpose Internet Mail Extension HTML (MHTML) format. When the option is enabled, they would encode your mail in a multipart email and then send over.

I can only see this possibility.
Random Solutions  
 
programming4us programming4us