I have to add in a couple of mailto links on a campaign and recipients using Outlook 2010 can't use these links. On all other email clients I've tested it on the link opens a new message but in Outlook 2010 nothing happens when the link is clicked. Some of the recipients using Outlook 2010 have the campaign going to their junk folder and others into their inbox and neither work.
I can't see anything wrong in template or the mail itself but if there is a workaround anybody knows then I'd greatly appreciate it if they shared it with me.
*edit - i've been having a little play with mailto links and think it might have something to do with the inline styles of the links because if I take all style off the link then it works ok. Is it possible to style the link but keep it working in Outlook 2010?
Hi Jim, welcome to the forums! We've had another customer report this today, so it seems like something must have happened recently. Thank you for all your detail and a fix, it's a huge help.
In regards to a workaround, have you tried wrapping the link in a span, ie.
<p>Mailto with span style: <span style="color: red; text-transform:uppercase;"><a href="mailto:firstname.lastname@example.org?subject=Hallo!" style="color: red; text-transform:uppercase;">Email me here</a></span></p>
If you give it a go, kindly let me know if it works. If so, we'd be keen to pass on this advice to other customers.
The issue was indeed with inline styles. It looked like the <multiline> and <singleline> tags in the template I was using had inline styles attached to them. In most email clients this was fine and worked ok but not in outlook 2010.
The fix was to use either a <span> outside or inside the campaign monitor tag depending on the occurance. Where I just needed to style the link colour etc a span containing the CM tag was fine but in a couple of places I needed to have no underline on the link so I had to have a span within the CM tag. I couldn't use a global style because in most places the underline was needed.
Hopefully this will help others.
Related to the post above I'm still having issues with getting links to work in Outlook 2010.
I have got a layout block which has a editable image in a left aligned table, to create a text wrap using the code below which is a slightly modified version of some code I found on the forum:
<td valign="top" bgcolor="#B9E0F7"><table width="150" border="0" align="left" cellpadding="0" cellspacing="0" style="margin-bottom:5px;"> <tr> <td><img alt="" width="140" align="left" editable='true' label='Inset left image' /></td> </tr> </table> <span style="padding-top:0px;"><multiline label='Secondary News Article Body'>Article body copy here</multiline></span></td>
When I add in a link to the multiline text and have an image in the table then the link doesn't work (in Outlook 2010 it shows the link location on hover but nothing happens when clicking, in other email clients it works fine). If I do not have an image in the table then the link works fine.
Is this a bug in campaign monitor or is my template screwing it all up?
Hi jim, the code above seems okay at first glance - any chance you can post your whole template code, preferably in a new thread? Alternately, you can get in touch with our support team and we'll happily take a look :)