Enter the Share Your Success Sweepstakes 2024 For the Chance to Win Great Prizes!

Issue with emails sent to Outlook and DPI scaling issue.

ThereseO10
Rookie
0 Votes

I am using my own code and i would like to know if before sending the email, CC removes anything from the code.

On the advanced editor though I can see everyhing that I have though.

 

Here is the solution I implemented for the DPI scaling on Outlook:

https://litmus.com/community/discussions/151-mystery-solved-dpi-scaling-in-outlook-2007-2013

 

So the html tag:

<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:cctd="https://www.constantcontact.com/cctd">

 

Code on head:

<!--[if gte mso 9]><xml>
    <o:OfficeDocumentSettings>
    <o:AllowPNG/>
    <o:PixelsPerInch>96</o:PixelsPerInch>
    </o:OfficeDocumentSettings>
</xml><![endif]-->

 

And inline styling on the images.

 

Does CC removed the any of the above before sending the email? I am thinking that it might removes the xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" from head or the xmlns:cctd="https://www.constantcontact.com/cctd" overwrittes something?

 

Thanks in advance!

Georgia

 

9 REPLIES 9
Elijah_G
Marketing Legend
0 Votes

Hello Georgia,

 

I have been working on this and doing some extensive testing over the past few days. What you are trying to accomplish is not specifically unsupported by Constant Contact, however, there is currently an issue that our engineers are working on that has also impacted your solution to this problem. At present the information that you are including in the header can be used on a custom HTML(not XHTML) email through our advanced editor.

 

However, the additional attributes that you are including on the <html> tag are not currently able to be sent.

 

Unfortunately my level of knowledge about this solution to the outlook DPI scaling issue is not enough to know how/if this solution will function without the additional attributes in the html tag. If you have access to a microsoft system with outlook where you can easily test how it performs with adjusted DPI settings, I would suggest creating a few test campaigns to see if this solution is functional.

 

If you have any questions, please let me know and I will be happy to do what I can to help!

 

Sincerely,

Elijah G.
API Support Engineer
GaSolar
Rookie
0 Votes

We have this exact same issue.

 

Are there other ways to have Outlook clients render images correctly using custom code?

 

How does Constant Contact handle DPI scaling with its own templates?

 

Thanks,

Barton

Elijah_G
Marketing Legend
0 Votes

Hi Barton,

 

I had to do a bit of research on this, but we've addressed this with our new Third Generation editor that we're slowly rolling out by building our templates, and the images in them, to be responsive an adapt to the size of viewing window. As far as other methods, I am unfortunately not familiar with other methods to force outlook to render images at the desired size when DPI scaling is in effect.

 

If you have any follow-up questions, please feel free to ask!

 

Sincerely,

Elijah G.
API Support Engineer
FirstNameL66476
Campaign Collaborator
0 Votes

I still dont see to be resolved. While using the constant contact custom code section, it still removes the <o> tag stuff completely. Any FAST response to the issue?

Courtney_E
Moderator
0 Votes

Hello 

 

Thank you for reaching out to Constant Contact API Developer Support and for your patience. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

It looks like you've already spoken with our customer support team in greater detail regarding your request, if you have additional questions regarding this issue or haven’t received the follow-up email that was sent, please reach back out to our support team and reference case number 28393651. Your feedback and experience with this request is essential to improving our product, so thank you for reaching out to us regarding this matter.


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
FirstNameL66476
Campaign Collaborator
0 Votes

Nope, I ahave received no follow up email. Can you please share my email ID with them? It is: kmehta attherate zmags dot com

Courtney_E
Moderator
0 Votes

Hello 

 

Thanks for your reply. I have notated case with your updated contact information and requested that the follow-up email be re-sent to the address provided.

 

If you have any further questions please don't hesitate to call our support line at 866-289-2101 and reference case #28393651.


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Kmayer21
Rookie
0 Votes

 Any update on getting this issue resolved? 8 years later this bug is still present in your platform.

Courtney_E
Moderator
0 Votes

Hello Kmayer21,

 

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

It's our understanding that this issue is caused due to Outlook not supporting "px" or setting these variables in the style attribute. The following workaround is suggested to bypass this display issue:  Change the code so that it does not use the 'px' for the size and also has the height and width set individually.

 

In case it is helpful, I have also linked the following article which contains a List of supported HTML tags for Custom Code emails within the current Custom Code editor, as the old editor was retired since this thread was originally created.

 

Errors in a custom code email

https://knowledgebase.constantcontact.com/articles/KnowledgeBase/33242-Errors-in-a-Custom-Code-Email

 

If you have further questions regarding Custom Code emails, please feel free to reach out to Constant Contact's Support Team at 866-289-2101 and request to be connected with a Custom Code specialist. Your case number for reference is #31433001.


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up