IP Library Granted Patent US 9,794,364
Granted Patent B2
US 9,794,364 · App. 12/500,025 · Granted Oct 17, 2017

Optimizing the delivery of formatted email messages

Inventors: Pavel Shkolnikov (Waterloo, CA); Dimitri Mostinski (Waterloo, CA)
Assignee: BlackBerry Limited
H04L67/2823H04L51/066H04L51/38H04L67/2828H04W28/06H04W4/12
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,794,364
App. No.
12/500,025
Granted
Oct 17, 2017
Kind
B2
Abstract

A method, server and system for the delivery of email messages is provided. In accordance with one embodiment, the method comprises: receiving a Markup Language email message, the email message including a displayable content portion and a markup portion; determining whether the markup portion of the email message is too large; if the markup is too large, extracting plain text portions of the email and obtaining a plain text email from the extracted plain text portions and transmitting the plain text email to the mobile communication device; and if the markup is not too large, transmitting the email to the mobile communication device.

Claims (44)

1. A method, implemented by a processor of a server, for processing email messages for delivery to mobile communication devices, the method comprising:

receiving, by the server, an email message for sending to a mobile communications device;

determining, by the processor of the server, whether an overall size of the received email message exceeds an overall size threshold; and

responsive to determining that the overall size of the received email message exceeds the overall size threshold,

determining, by the processor of the server, whether markup content of the received email message exceeds a markup size threshold,

responsive to determining that the markup content exceeds the markup size threshold,

extracting, by the processor of the server, markup content from the received email message while retaining displayable content to obtain a reduced size email message having a size less than the overall size threshold, and

sending, by the server, the reduced size email message.

2. The method of claim 1 , wherein the displayable content includes plain text.

3. The method of claim 1 , wherein extracting markup content includes extracting all markup tags from the received email message so that the reduced size email message is a plain text email message.

4. The method of claim 1 , wherein extracting content includes selectively extracting markup tags so that markup tags belonging to a first group of markup tags are removed from the received email message and markup tags belonging to a second group of markup tags are retained in the received email.

5. The method of claim 4 , wherein the second group of markup tags consists of the markup tags <br> and </br>, <p> and </p>, <b> and </b>, <i> and </i>, <u> and </u>, and wherein the first group of markup tags consists of all other markup tags which do not belong to the second group of markup tags.

6. The method of claim 1 , wherein determining that the markup content exceeds the threshold includes parsing content of at least a portion of the received email message to determine an amount of displayable content in the parsed content and determining that the markup content exceeds the threshold if the amount of displayable content in the parsed content is less than at least one predetermined threshold.

7. The method of claim 6 , wherein parsing content of at least a portion of the received email message comprises parsing only up to a predetermined amount of the received email message content if a size of the email message exceeds a size limit.

8. The method of claim 6 , wherein the displayable content includes plain text content of the email message and wherein determining the amount of displayable content includes determining the number of plain text characters in the parsed content, and wherein the predetermined threshold is a predetermined number of required plain text characters.

9. The method of claim 6 , wherein the displayable content includes plain text content and inline images, and wherein determining that the markup content exceeds the threshold includes determining that the amount of plain text in the parsed content is less than a predetermined displayable text threshold and determining that the number of inline images in the parsed content is less than a required image threshold.

10. The method of claim 1 , wherein the received email message is an HTML (HyperText Markup Language) email.

11. The method of claim 1 , wherein determining that the markup content of the email message exceeds a threshold includes comparing at least one metric to a predetermined threshold, the metric representing the amount of markup in the received email message.

12. The method of claim 1 , further comprising:

determining, by the processor of the server, whether the received email message is a plain text email message or an email message formatted in accordance with a markup language; and

determining, by the processor of the server, whether the overall size of the received email message exceeds an overall size threshold responsive to determining that the email message is formatted in accordance with a markup language.

13. A server for processing email messages for delivery to mobile communication devices, the server comprising a processor executing computer-executable instructions to implement an email service operable to cause the server to:

receive, by the server, an email message for sending to a mobile communications device, the email message having a body section, the body section including displayable content and markup content;

determine, by the processor of the server, whether an overall size of the received email message exceeds an overall size threshold;

responsive to determining that the overall size of the received email message exceeds the overall size threshold,

determine, by the processor of the server, whether markup content of the received email message exceeds a markup size threshold,

responsive to determining that the markup content of the received email message exceeds the markup size threshold,

extract, by the processor of the server, markup content from the received email message while retaining displayable content to obtain a reduced size email message having a size less than the overall size threshold, and

send, by the server, the reduced size email message to the mobile communications device.

14. The server of claim 13 , wherein the displayable content includes plain text.

15. The server of claim 13 , wherein extracting markup content includes extracting all markup tags from the received email message so that the reduced size email message is a plain text email message.

16. The server of claim 13 , wherein extracting content includes selectively extracting markup tags so that markup tags belonging to a first group of markup tags are removed from the received email message and markup tags belonging to a second group of markup tags are retained in the received email message.

17. The server of claim 13 , wherein determining that the markup content exceeds the threshold includes parsing content of at least a portion of the received email message to determine an amount of displayable content in the parsed content and determining that the markup content exceeds the threshold if the amount of displayable content in the parsed content is less than at least one predetermined threshold.

18. The server of claim 17 , wherein the displayable content includes plain text content of the email message and wherein determining the amount of displayable content includes determining the number of plain text characters in the parsed content, and wherein the predetermined threshold is a predetermined number of required plain text characters.

19. The server of claim 17 , wherein the displayable content includes plain text content and inline images, and wherein determining that the markup content exceeds the threshold includes determining that the amount of plain text in the parsed content is less than a predetermined displayable text threshold and determining that the number of inline images in the parsed content is less than a required image threshold.

20. The server of claim 13 , wherein determining that the markup content of the email message exceeds a threshold includes comparing at least one metric to a predetermined threshold, the metric representing the amount of markup in the received email message.

21. A non-transitory computer readable medium having stored thereon computer executable instructions for processing email messages for delivery to mobile communication devices, the computer executable instructions comprising code that, upon execution by a processor of a server, causes the server to:

receive, by the server, an email message for sending to a mobile communications device, the email message having a body section, the body section including displayable content and markup content;

determine, by the processor of the server, whether an overall size of the received email message exceeds an overall size threshold;

responsive to determining that the overall size of the received email message exceeds the overall size threshold,

determine, by the processor of the server, whether markup content of the received email message exceeds a markup size threshold,

responsive to determining that the markup content of the received email message exceeds the markup size threshold,

extract, by the processor of the server, markup content from the received email message while retaining displayable content to obtain a reduced size email message having a size less than the overall size threshold, and

sending, by the server, the reduced size email message to the mobile communications device.

Assignments (4)
NUNC PRO TUNC ASSIGNMENT Recorded Jun 19, 2023
From: BLACKBERRY LIMITED
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064270/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 16, 2023
From: BLACKBERRY LIMITED
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064104/0103 →
CHANGE OF NAME Recorded Feb 23, 2016
From: RESEARCH IN MOTION LIMITED
To: BLACKBERRY LIMITED
Reel/Frame 037893/0239 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 9, 2009
From: SHKOLNIKOV, PAVEL; MOSTINSKI, DIMITRI
To: RESEARCH IN MOTION LIMITED
Reel/Frame 022934/0289 →
Continuity (2)
Provisional Application 61079367 · Jul 9, 2008
Related Publication 20100011076A1 · Jan 14, 2010