HTML Email Rollover question

Hi Guys
I am looking at adding an image rollover to some links on my HTML email, i have read alot on using css but am sure its not supported unless it's inline. my coding knowlege limited so i may not be fully understanding the expliantions given.
basically is there anyway to add an image rollover without using css?
Thanks guys n girls
Dean

With the exception of GMail, style rules are permitted in the head element, see.
Hover effects are not supported in Outlook 2007/2010, Gmail, iOS or Android. You may still want to include the a:hover style for all supporting clients: Outlook 2000/2003, Hotmail, Apple Mail, and Yahoo! mail ...see

Similar Messages

  • HTML email design question

    First off, I know about all of the pitfalls of using html in email, but this job requires it. My issue is that I'm using inline styles as is necessary in today's Microsoft-destroyed email environment, and I need to modify the spacing between paragraphs. The big problem is that Hotmail does not support the margin tag and Outlook 2007 doesn't support the padding tag at paragraph level. If I use both then every other email client adds double spacing. Does anyone know a way around this?

    I suppose you could use double carriage returns between paragraphs.
    <p>some text here</p>
    <p> </p>
    <p>some more text here</p>
    Or you might  try using style="text-indent: 45px" to indent the first line of your  paragraphs.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Cross Platform HTML Email Questions

    Hi,
    I am creating new html emails from within dreamweaver for use in a service like constant contact. The service I use is COMF5. They have a rudimentary (but nice) WSYIWYG editor so I am giving it a whirl in Dreamweaver.
    I first made the mistake of creating a beautiful file in CSS, pasted it in the editor and found divs and info floating all over the place.
    I just found an article by an adobe pro on doing this and ZOMG, what a huge help. Here is what I think I underatand and my question:
    1. Everything is tables, inclding the background which is created at 98%.
    2. The body is to be nested tables.
    3. Attributes are to be defined within the table by use of the property bar and not to include creating css rules.
    4. The one exception is inline styles created within the boundaries of the table.
    5. Important rule is to not have CSS sitting at top of code in document.
    My big question at present is, how can I code links to be other than blue and underlined? I would use CSS to do that on my pages.
    Thanks ain advance for further insight!
    Rob

    Rob2Smith wrote:
    Hi,
    I am creating new html emails from within dreamweaver for use in a service like constant contact. The service I use is COMF5. They have a rudimentary (but nice) WSYIWYG editor so I am giving it a whirl in Dreamweaver.
    I first made the mistake of creating a beautiful file in CSS, pasted it in the editor and found divs and info floating all over the place.
    I just found an article by an adobe pro on doing this and ZOMG, what a huge help. Here is what I think I underatand and my question:
    1. Everything is tables, inclding the background which is created at 98%.
    2. The body is to be nested tables.
    3. Attributes are to be defined within the table by use of the property bar and not to include creating css rules.
    4. The one exception is inline styles created within the boundaries of the table.
    5. Important rule is to not have CSS sitting at top of code in document.
    My big question at present is, how can I code links to be other than blue and underlined? I would use CSS to do that on my pages.
    Thanks ain advance for further insight!
    Rob
    I'll second what Joey said.  Everything inline with email clients.  They are too unreliable, especially with Outlook.  Constant Contact though can be a pain in that you can't just add links to the email if you want them to be tracked.  Search their documentation for the "SimpleURLProperty" tag that they use.  If you do not include this, and the code they leave for you in the code view when you import your own code, none of their tracking features will work.  And this goes for images as well as text links.  Lots of conditions when sending through Constant Contact if tracking is a key.  One of the key reasons I have used other services for awhile now.

  • Why is my HTML email showing up wrong in different email account?

    I've seen this before and I think it has to do with CSS (which I realize isn't supposed to be in emails), but I'm super new to this and have scoured the internet to find out exactly what I'm doing wrong and how to fix it. It shows up properly in my Yahoo acccount, but not in my Gmail accounts (which initially threw it in Spam, if that has anything to do with it). I only know the very basics of HTML and CSS, but still have get this work done and I'm assuming someone will be able to view the code and see what my issue is pretty quick - I hope! It previews in browsers just fine, it's only when I'm click "Forward to a Friend" to send it to myself to test.
    See the HTML and screencaps of the difference in view below...
    My HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="Description" content="LandOf.org is a land use information salon for Minnesota developers, planners and the public to learn about growing smarter. LandOf.org covers everything along the transect from central cities to rural areas with topics such as mixed land use to stakeholder collaboration with experts, downloadable plans, case studies and images for each. LandOf.org is a mingling of voices that asks, &ldquo;how can we do what&rsquo;s best for Minnesota?&rdquo;
    " />
    <title>Summer Reading List: Best of Smarting Off Blog</title>
    <style type="text/css">
    .rulebottom {
              border-bottom-width: 1px;
              border-bottom-style: dotted;
              border-bottom-color: #483225;
    .ruleleft {
              border-left-width: 1px;
              border-left-style: dotted;
              border-left-color: #483225;
    .texta {
              font-family: arial, helvetica, sans-serif;
              font-size: 11px;
              color: #483225;
    .texta a {
              font-family: arial, helvetica, sans-serif;
              font-size: 11px;
              color: #483225;
    .titlea {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 19px;
              text-decoration: none;
              color: #80CCA9;
    .titleb {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 19px;
              text-decoration: none;
              color: #154051;
    .textblue {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 11px;
              text-decoration: none;
              color: #154051;
    .bottominfo {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 11px;
              line-height: 16px;
              color: #FFFFFF;
    .border {
              border: thin solid #7C5A45;
    .text {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 12px;
              color: #977347;
              line-height: 16px;
    .intro {
              font-family: Georgia, "Times New Roman", Times, serif;
              font-size: 12px;
              line-height: 16px;
              color: #977347;
              font-style: italic;
    .publisher {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 14px;
              color: #3D1B01;
    .text a {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 12px;
              color: #87C1A9;
              line-height: 16px;
    body {
              background-color: #EAF5AE;
    .text1 {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 12px;
              color: #171800;
              line-height: 18px;
    </style>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-2283394-35");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </head>
    <body>
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EAF5AE">
      <tr>
        <td><p align="center"> </p>
          <p align="center"><span class="text">Summer reading list from LandOf.org. Having trouble viewing this email? <a href="http://www.landof.org/email/7-13.html" target="_blank" style="color:#6CA233">View it online.</a></span></p>
          <table width="650" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
            <tr>
              <td colspan="6"><div align="right"><a href="http://www.landof.org" target="_blank"><img src="http://www.landof.org/email/images/head.jpg" width="650" height="129" border="0" /></a></div></td>
            </tr>
            <tr>
              <td width="26" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="25" height="1" /></td>
              <td width="425" valign="top"></td>
              <td width="14" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="14" height="1" /></td>
              <td width="16" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="15" height="1" /></td>
              <td width="150" rowspan="6" valign="top"><table width="150" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><table width="150" height="3" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><table width="150" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td><table width="150" height="3" border="0" cellpadding="0" cellspacing="0" bgcolor="#154051">
                                    <tr>
                                      <td></td>
                                    </tr>
                                  </table></td>
                              </tr>
                              <tr>
                                <td><p align="left"><br />
                                    <img src="http://www.landof.org/email/images/blog-bubble.jpg" width="87" height="69" /><br />
                                  </p>
                                  <font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:bold;line-height:10pt;"> THE LATEST FROM THE SMARTING OFF BLOG </font><br />
                                  <br />
                                  <font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:normal;line-height:11pt; "><strong>Recommendations: Who to Check out on Facebook</strong><br />
                                  <br />
                                  The following are a few of our favorites to keep in touch with on Facebook. Like them too for resources, news and more.</font><br />
                                  <br />
                                  <font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:normal;line-height:11pt; "><a href="http://blog.landof.org/2012/09/recommendations-who-to-like-on-facebook.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a> </font> <br/>
                                  <br />
                                <br/></td>
                              </tr>
                            </table></td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td height="3px" bgcolor="#154051" ></td>
                  </tr>
                  <tr>
                    <td><div align="center"> <a href="http://www.landof.org/email/12-12.html"><img src="http://www.landof.org/email/images/last-issue.jpg" alt="Read the last issue" width="150" height="208" border="0" /></a> </div></td>
                  </tr>
                </table>
                <a href="http://blog.landof.org/2011/02/celebrate-life-in-twin-cities-watch.html" target="_blank"></a></td>
              <td width="20" rowspan="6" valign="top"><img src="../images/spacer.gif" width="20" height="1" /></td>
            </tr>
            <td valign="top"><img src="http://www.landof.org/email/images/recommended.jpg" alt="Recommended" width="425" height="75" /><br />
                <table width="421" border="0" cellspacing="0" cellpadding="0">
                </table></td>
            </tr>
            <tr>
              <td valign="top"><p><strong><a href="http://blog.landof.org/2013/05/16-rules-for-growing-smarter-city.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">16 Rules for Growing a Smarter City</a></strong>
                <p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">Kaid Benfield&mdash;professor, nonprofit founder and author specializing in the topics of smart growth and sprawl&mdash;discusses the need for moving past simply advocating for smart growth to putting quality plans into action.<br />
                  <br />
                <a href="http://blog.landof.org/2013/05/16-rules-for-growing-smarter-city.html" target="_blank" style="color:#6CA233">Read more.</a></font>           
                <hr noshade="noshade" size="1" />
                <p><strong><a href="http://blog.landof.org/2013/05/northfield-named-as-having-complete.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Northfield Named as Having a &quot;Complete Street Policy&quot;</a></strong></p>
                <p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">There are 488 cities, states and regions with Complete Street policies in the US. In 2012, 130 new policies were passed. Northfield, MN has made the cut.<br />
                  <br />
                  <a href="http://blog.landof.org/2013/05/northfield-named-as-having-complete.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a></font></p>
                <hr noshade="noshade" size="1" />
                <p><strong><a href="http://blog.landof.org/2013/05/walk-score-ranks-most-walk-and-bike.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Walk Score Ranks Most Walk- and Bike-Friendly US Cities</a></strong><br />
                  <br />
                  <font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">Where do the Twin Cities rank regarding their walking and biking scores? What cities are doing better? How can we improve?<br />
                  <br />
                  <a href="http://blog.landof.org/2013/05/walk-score-ranks-most-walk-and-bike.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a></font></p>
                <hr noshade="noshade" size="1" />
                <p><strong><a href="http://blog.landof.org/2013/05/generation-y-prefers-walkable-downtown.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Generation Y Prefers Walkable Downtown Living&mdash;For Now</a></strong><br />
                </p>
                <table width="425" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="267"><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">People in the 18-to-34 age bracket currently prefer to rent in downtown areasover the suburbs and a sprawling yard. But what happens when they decide to raise families in larger homes?<br />
                      <br />
                      <a href="http://blog.landof.org/2013/05/generation-y-prefers-walkable-downtown.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a></font></td>
                    <td width="18"> </td>
                    <td width="140" valign="top"><img src="http://www.landof.org/email/images/7-13-walkabledowntown2.jpg" width="140" height="105" alt="Downtown Mpls" /></td>
                  </tr>
                </table>
                <hr noshade="noshade" size="1" />
                <p><strong><a href="http://blog.landof.org/2013/06/barcelona-fold-out-apartment-is-just.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Barcelona Fold-Out Apartment Is Just 250 Square Feet</a></strong><br /></p>
                <p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">This ingenious tiny studio apartment has everything a larger home does&mdash;a dining room, a kitchen, a bedroom, a lounge and more. How does it all fit into 250 square feet?<br />
                  <br />
                <a href="http://blog.landof.org/2013/06/barcelona-fold-out-apartment-is-just.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a></font></p>
                <p> </p></td>
            </tr>
          </table>
          <div align="center">
            <p align="center"><a href="http://www.landof.org/email/forward/forwardplease.html" target="_blank"><img src="http://www.landof.org/email/images/forward.png" width="200" height="50" border="0" /></a></p>
            <p align="center" class="texta"><a href="http://www.landof.org/privacy.html" target="_blank" style="color:#483225">Privacy Policy</a></p>
            <font style="font-family:arial,helvetica,sans-serif;font-size: 11px;color:#483225;">To ensure you continue to receive this email, please add <a href="mailto:[email protected]" target="_blank" style="color:#483225">[email protected]</a> to your address book.<br />
            Did someone forward this email to you? <a href="http://www.landof.org/contact.aspx" target="_blank" style="color:#483225">Sign up</a> to receive your own notifications from LandOf.org.<br />
            <br />
            <u><a href="mailto: [email protected]" target="_blank" style="color:#483225">Request more information or contact LandOf.org</a></u>.<br />
            <br />
            <a href="http://www.landof.org" target="_blank" style="color:#483225">www.LandOf.org</a> | &copy;2012 LandOf.org<br />
            26 E. Exchange Street, Suite 206, St. Paul, MN 55101</font>
            <p align="center" class="texta">
              <!-- AddThis Button BEGIN -->
              <a href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?pco=tbxnj-1.0&url=landof.org%2 Femail%2F10-12.html&pubid=xa-4feb7dd23fdf0efa" target="_blank" ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/facebook.gif" border="0" alt="Facebook" /></a> <a href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?pco=tbxnj-1.0&url=landof.org%2F email%2F10-12.html&pubid=xa-4feb7dd23fdf0efa" target="_blank" ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/twitter.gif" border="0" alt="Twitter" /></a> <a href="http://www.addthis.com/bookmark.php?source=tbxnj-1.0&=250&amp;pubid=xa-4feb7dd23fdf0efa&ur l=landof.org%2Femail%2F10-12.html " target="_blank"  ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/more.gif" border="0" alt="More..." /></a>
              <!-- AddThis Button END -->
            </p>
            <p align="center" class="texta"><a href="http://www.adsoka.com/w2e.html" target="_blank" style="color:#483225">Email by Adsoka</a></p>
          </div></td>
      </tr>
    </table>
    </body>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-2283394-35']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </html>
    How it's supposed to show up:
    How it's showing up in Gmail (Incorrectly! All the copy should be within the white box.):
    Screencap from DW:
    So, is it CSS causing this? Are the Tables setup incorrectly? Something not Inline? Not enough info for you? Gmail HATES ME?!
    I'm just not seeing it and need to put the question out there while I continue to search for an anwer. Please respond!
    Thanks!

    Many mail clients reject images, JavaScript and embedded CSS styles.  For best results use plain text near the top to communicate your message and give a link to the actual web page on your server.
    For mail clients that do have limited support for HTML, use uncomplicated tables and inline CSS rules (inside the body tag).  
    All that meta data description is a red flag to spam filters.  You shouldn't be using meta description or keywords in e-mails.
    The article below has some good tips & resources for reliable e-mail templates you could use:
    http://alt-web.com/Articles/HTML-Emails.shtml
    Nancy O.

  • When I forward an HTML email with embedded graphics to someone, it forwards it as plain text.. this is driving me batty.. how do I forward such mails INTACT??

    I have the latest Thunderbird installed on a new 64-bit Winblows Eight netbook.. fantastic program, but one problem is driving me absolutely batty, and after using the latest Thunderbird for weeks, I simply can't figure out how to fix it..
    I'm on a lot of mfr. and other kinds of mailing lists, like eBay watch list alerts, and so on.. these are not s p a m (although I get plenty of that.. who doesn't).. but lists I WANT to be on..
    Many such emails from those mailing lists are in HTML format with embedded graphics.. I'm not talking about graphic file attachments, but embedded graphics which are coming from the senders' servers, and appear AS a graphic in the email.. sometimes such emails are one huge graphic with hardly any text.. all well and good..
    However, here's the problem.. when I want to forward such an email to a friend, Thunderbird ALWAYS formats it as plain ASCII text.. I know this because I look in the "sent mail" folder, and can see that it has turned an HTML email with embedded graphics into plain ASCII text..
    I absolutely can't figure out how to get it to forward an HTML email with embedded graphics INTACT, so the sender receives it looking the way it looks when I receive it from a mailing list, or an advertiser, or eBay, or whoever..
    Is Thunderbird capable of forwarding an HTML email with embedded graphics INTACT?.. If so, how / where do I turn on that capability?..
    If the capability to do this isn't built into the program, is there an add-on I can install that will give it that ability?..
    I am not new to computers.. but this really has me stumped.. I want to put Thunderbird on my 32-bit Vista laptop and stop using its horrible "Windoze Mail" program, which I've been using for years, and is slower than snot, and has all kinds of other problems..
    So, assuming whoever reads this FULLY understands my question, PLEASE tell me how to get Thunderbird to have the ability to forward an HTML email with embedded graphics AS-IS, so the receiver(s) I forward it to see it exactly the way I see it when I receive it.. if that ability is built in, please tell me how to turn it on.. if that ability is not built-in, please tell me what add-on I need to install to give Thunderbird this capability.. if Thunderbird absolutely can't forward an HTML email with embedded graphics at all, please also tell me that..
    A virtual box of candy and a dozen long-stemmed roses to anyone who can give me a solution that works..
    Thanks..

    Dear Mr. Toad (my all-time favorite ride at Disneyland ;-) ..
    Thanks so much for your detailed reply.. my netbook is in the bedroom, turned off.. I (so far) only use it in the evening, in the bedroom.. I've saved your response, and will try your suggestions, and let you know if they solve the problem I described. I really appreciate you taking the time to post such a detailed reply..
    I can't answer your Thunderbird "configuration" questions, because I'm in the living room, using the crap Vista laptop, on which I plan to install Thunderbird, and then take Windoze Mail out in the street and drive over it a few times.. I'll get back to you one way or the other, and let you know if your instructions solved the problem, or not..
    I don't understand why Thunderbird "out of the box", so to speak, simply doesn't forward HTML emails with embedded graphics, (like Outlook Excess, and Winblows Mail do).. without having to go through those steps. I personally HATE HTML email, but over the years, it's become more and more prevelant.. so it's a problem I must fix..
    Thanks again..
    Harv..

  • Upgrade to 4.5 device software on Telus Pearl 8130: HTML Email viewer doesn't work

    I just upgraded the software on my Telus Mobility (Canada) BlackBerry Pearl 8130 (from 4.3).
    One of the main reasons I wanted to upgrade was to take advantage of the HTML email viewer (yeah!  finally!).
    My installation went fine, and the View Messages in HTML option is enabled (was by default, have verified it again).
    On my first test email that I sent to myself from my Yahoo account to my default ISP email account, here's what happened.  The Yahoo email uses a very simple "stationery" as background, consisting of two small graphic files, one in the upper left and one in the lower right.  In between those two graphics is the text you wish to write.  So I put the words "test test" in the text portion and sent it to myself.
    When the email was received on the Pearl, indeed I saw the two graphics.  However, the text was not displayed.
    That was the first attempt.  The second attempt produced no graphics at all.
    I also tried sending myself an email using some formatting, like bold fonts, different text colors, underline and one jpg file.  None of the formatting came through, and the jpg came through as an attachment (instead of in the the body of the email where it was placed).  When I tried to open the jpg, by clicking on "1 Attachment", I got an error stating that it is an unrecognized file type and cannot be opened.
    So it appears that the upgrade took 1 step forward and 3 backwards.
    Anyone experience this, and if so, is there a fix, either now or in the works?  Does RIM Support read these forums?
    Telus Tech Support said that something is being done but they weren't too specific.
    I have another upgrade-related question regarding Documents to Go, but I'll post that in a separate thread.
    Message Edited by bwv565 on 12-16-2008 11:43 PM

    hello,
    about your Bluetooth problem, I suggest you one a new discussion on the decicated board called "BlackBerry Accessories". ou will find there experts about Bluetooth.
    http://supportforums.blackberry.com/rim/board?board.id=accessories
    about the third point : it usually takes a long time for the device to emerge after a battery pull. It's quite common, you can't do anything about it.
    about the second point. In my opinion there at least one picture that is corrupted (or one index file).
    in the folder containing that image, do you have many images ? Let's call that folder A.
    I suggest you to move them one by one into another folder B, then scroll through the folder A.
    it will certainly reset a few times, until at one point it wont' freeze, meaning the folder A does not contain the corrupted image anymore.
    you then know that the last image moved from A to B is the culprit.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Mail messes up html emails when the international panel set to "french"

    This is a fairly specific problem, under my normal settings everything works fine. I receive emails on a weekly basis from this sender who sends them with quite a bit of html encoding. Images, fancy formatting, tables, etc. Normally, they display just fine.
    However, I recently decided to switch my system language (on the international panel) to french instead of English. I have not changed any other settings, in the system or in Mail.
    With the setting in the international panel set with French first, mail suddenly displays these emails suddenly turn to gibberish: They lose almost all formatting, most of the images disappear, text gets superimposed and piled up near the top of the email, etc.
    Thus my two questions: Firstly, why would the setting in the international panel be affecting the content of an html email. Secondly, how can it be set to not affect said content.
    I already looked through the coding for the email, and to the best I can tell, it has no encoding specifying a display language or alternate language encoding or anything of that sort.
    Thanks!

    With the setting in the international panel set with French first, mail suddenly displays these emails suddenly turn to gibberish: They lose almost all formatting, most of the images disappear, text gets superimposed and piled up near the top of the email, etc.
    Hmmm, I'd copy that text & paste into Text Edit document, then wirth it all highlighted try changing to several different fonts to see if the gibberish goes away.
    I'm thinking it's a font issue, but not certain of course.
    Maybe post a sample of the gibberish here for me to look at?

  • HTML Email

    Hi,
    I'm having trouble creating an html email that works accross
    all email clients. Right now I'm testing on a Macbook and my email
    works fine in Entourage but won't appear at all in Apple mail. I
    know I have to set a multi part MIME header but I'm not sure where
    to put that code.
    Here is what I have so far...
    <CFMAIL TO="#email#" FROM="[email protected]"
    SUBJECT="Global Lifeguard discount coupon">
    <!--- Embed image via the local file system. --->
    <cfmailparam
    file="#ExpandPath('#application.imagepath#Email-Header.gif')#"
    contentid="header"
    disposition="inline"
    />
    <cfmailparam
    file="#ExpandPath('#application.imagepath#GLG_logo.gif')#"
    contentid="logo"
    disposition="inline"
    />
    <cfmailpart type="html">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    Mime-Version: 1.0 Content-Type: text/html;
    charset="ISO-8859-1"
    </head>
    <style>
    body,td,a,p,.h{font-family:arial,sans-serif;font-size:small;}
    a:link {color:##c02026; }
    .footer {font-size:x-small;}
    a.footer {font-size:x-small;}
    </style>
    <body>
    <cfoutput>
    <table width="600" cellpadding="0" cellspacing="0"
    border="0"> <tr> <td align="center"
    bgcolor="##c20803">
    <img src="cid:header" alt="E-mail Header" />
    <table width="580" cellpadding="15" cellspacing="0"
    border="0" bgcolor="##ffffff">
    <tr><td align="left">
    <p>Dear <b>#name#</b>,</p>
    <cfif IsDefined("attributes.Personal")>
    <cfif trim(attributes.Personal) EQ
    ""><p>#session.Account.UserName# has invited you to join
    Global Lifeguard, the first service in Canada that allows you to
    access your medical records over the
    internet.</p><cfelse><p>#attributes.Personal#</p></cfif>
    <p><b>Use your Service Voucher below to sign up
    now, and you both get 1 month free!**</b> </p>
    <cfelse>
    <p>#session.Account.UserName# has invited you to join
    Global Lifeguard, the first service in Canada that allows you to
    access your medical records over the internet.</p>
    </cfif>
    <p>--------------------------------------------------------------------------------------- --------------------</p>
    <h3>What is Global Lifeguard</h3>
    <p>Global Lifeguard is a new health record management
    system that provides Canadians with secure, web-based access to
    their medical information.
    Up-to-date health records can be accessed by patients, their
    physicians, and other authorized health care personnel over the
    Internet from anywhere in
    the world, 24 hrs a day, 7 days a week.</p>
    <p><b>Member Benefits:</b></p>
    <ul>
    <li>Secure, 24/7 access to up-to-date health
    information from anywhere in the world.</li>
    <li>All your medical records in one, secure
    location.</li>
    <li>Always have access to your critical information,
    even in emergency situations and when traveling abroad. </li>
    <li>Powerful security features ensure that your
    information remains completely confidential. </li>
    <li>Easily manage the healthcare of loved ones.
    </li>
    <li>Diary functions allow you to keep track of
    important changes to your health status.</li>
    </ul>
    <p>To learn more about Global Lifeguard, visit us today
    at <a href="
    http://www.globallifeguard.com"
    target="_blank">www.GlobalLifeguard.com</a>.</p>
    <p> Sincerely,<br />
     The Global Lifeguard Team</p>
    <p align="right"><img src="cid:logo" alt="Global
    Lifeguard Logo" /></p>
    <p class="footer"><b>Please Note:</b>
    #session.Account.UserName# requested that this one-time e-mail be
    sent. If you have any questions about Global Lifeguard, please
    e-mail us at
    <a class="footer"
    href="mailto:[email protected]">[email protected]</a>.</p>
    <p>--------------------------------------------------------------------------------------- --------------------</p>
    </td></tr>
    <tr>
    <td bgcolor="##f0f0f0">
    <h3>Here is your one month Global Lifeguard Service
    Voucher:</h3>
    <p><b>Referral Code:</b> #coupon#</p>
    <p>This Global Lifeguard Referral Code is only valid
    for use by #name#. This Global Lifeguard Referral Code expires:
    <b>#DateFormat(DateAdd('m', 4,
    Now()),'yyyy/mm/dd')#</b></p>
    <br />
    <h3>How to redeem your Global Lifeguard Service
    Voucher:</h3>
    <p>1. Please visit <a
    href="#application.home#/#request.self##xfa.viewSRegister#&edit=1&coupon=#coupon#"
    target="_blank">www.GlobalLifeguard.com/referral</a>.</p>
    <p>2. When prompted, enter your Global Lifeguard
    Referral Code and follow the onscreen instructions to complete the
    registration process.</p>
    <p>3. Finalize the registration process by providing
    your payment information. Once complete, your account will be
    credited with a one year subscription,
    plus one additional month of service.</p>
    </td></tr>
    <tr><td>
    <ul class="footer">
    <li>Global Lifeguard Service Vouchers are not for
    resale, and are not redeemable for cash. </li>
    <li>Global Lifeguard Service Vouchers cannot be
    transferred, and cannot be applied to any existing account.
    </li>
    <li>Sorry, we cannot replace lost Global Lifeguard
    Service Vouchers. </li>
    <li>A valid e-mail address is required to redeem a
    Global Lifeguard Service Voucher. </li>
    <li>This Global Lifeguard Service Voucher Expires 4
    Weeks after this e-mail is sent. </li>
    </ul>
    </td>
    </tr>
    </table>
    <br />
    </td>
    </tr>
    </table>
    </cfoutput>
    </body>
    </html>
    </cfmailpart>
    </CFMAIL>

    Here is one example which is taken from the documentation
    links Mr.Azadi mentioned...
    <h3>cfmailpart Example</h3>
    <cfmail from = "[email protected]" To = "[email protected]"
    Subject = "Which version do you see?">
    <cfmailpart
    type="text"
    wraptext="74">
    You are reading this message as plain text, because your
    mail reader
    does not handle HTML text.
    </cfmailpart>
    <cfmailpart
    type="html">
    <h3>HTML Mail Message</h3>
    <p>You are reading this message as
    <strong>HTML</strong>.</p>
    <p>Your mail reader handles HTML text.</p>
    </cfmailpart>
    </cfmail>

  • MS SharePoint 2010 Designer Workflow Email - Enhanced Rich Text Field look-up values on HTML email have large spaces

    MS InfoPath 2010 form with RTF (Rich Text Fields)
    MS SharePoint 2010 Custom Library
    MS SharePoint 2010 Designer Workflow Send Email
    http://office.microsoft.com/en-us/sharepoint-designer-help/send-e-mail-in-a-workflow-HA010239042.aspx
    https://www.nothingbutsharepoint.com/sites/eusp/pages/creating-html-emails-with-spd-workflows.aspx
    Hi all of the above work, our question is how to control the RTF (Rich Text Field) look up values to the InfoPath 2010 form in the HTML email?
    How to FORMAT the RTF look up value? in the HTML email
    EXAMPLE
    we have a InfoPath 2010 form published in the SharePoint 2010 custom list library there are 5 RTF fields (Notes1, Notes2, Notes3, Notes4, Notes5) there are other plain text fields, date fields, and other field types in the form
    We use a HTML table to make the email look like the InfoPath form, so when the users fill out the form and they get the email notification everything looks the same.
    Our problem is the EXTRA LINE SPACE in the RTF look up values
    We want to remove any leading spaces, and line spaces between HTML table cells
    Our Workflow has the HTML in a Workflow variable, as you know it does not support remote CSS it has to be in-line style for any formatting we want all cells to have
    valign="top" the email should align at the top of the cell, all field types do except the RTF look up values they make the email look bad and they contain a lot of white space.
    Please test this in your enviroment 
    <table>
    <tr><td>Title:</td><td>[%Current Item:Title%]</td><td>[%Current Item:Notes1%]</td></tr>
    <tr><td>Created by:</td><td>[%Current Item:CreatedBy%]</td><td>[%Current Item:Notes2%]</td></tr>
    <tr><td>Date Created:</td><td>[%Current Item:Created%]</td><td>[%Current Item:Notes3%]</td></tr>
    <tr><td>Modified by:</td><td>[%Current Item:ModifiedBy%]</td><td>[%Current Item:Notes4%]</td></tr>
    <tr><td>Date Modified:</td><td>[%Current Item:Modified%]</td><td>[%Current Item:Notes5%]</td></tr>
    </table>
    I could not update the question below to the proper forum section. that is why i am asking again.
    http://social.technet.microsoft.com/Forums/en-US/a7918bfb-9166-4bdb-828c-132a0c7611e3/ms-sharepoint-2010-designer-workflow-emails-huge-lines-paces-in-rich-text-fields-values-from-ms?forum=sharepointcustomization
    -Isaack

    Hi IssackB,
    perhaps you may try this article:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f8fa2a11-9f74-4dd2-b277-21ce872fdcb2/can-we-add-rich-text-editor-to-the-sharepoint-designer-2010-workflow?forum=sharepointcustomizationprevious
    there are some notes that perhaps you may check:
    Use the same font for all the controls to ensure consistent spacing between rows.
    Choose Size from the Format menu, and then choose To Fit from the menu that appears. This adjusts the size of each control, depending on the font set for the data that appears
    in the control.
    NOTE: The Print Preview and Output To commands use different algorithms for calculating text width; therefore, the text may occupy more or less
    space in the RTF file.
    Reduce the amount of blank space above and below the report controls. Any vertical
    space between the controls is converted to whole lines
    in the RTF file. For example, a
    space of .02 inches can increase to .1667 inches in the
    RTF file.
    Make sure controls on the same output row are not too close to each other or overlapping. This can cause the Output To command to omit the controls or to align the columns incorrectly
    in the RTF file.
    Use the Align command from the Format menu to ensure that a row of controls is aligned properly on the report. If a row of controls is not aligned properly, the Output To command may place the controls
    in different rows, causing extra blank
    spacein the RTF file. 
    and please have a check there are updates for exchange 2013 and will be available with the upcoming release of CU4 for Exchange 2013, that stated the format rtf was saved instead HTML. http://support.microsoft.com/kb/2862739/en-us
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Sending Unicode HTML email from Oracle

    Dear All,
    How we can send the HTML email from Oracle in Unicode format (I am using Arabic Language, to be specific). So far I have tried the following solutions (using utl_smpt) without any success (either i see junk characters in the email or see question marks). Would you please help me in solving this?
    Options Tried*
    Option 1
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE PROCEDURE p_send_mail_test (
      2  sender IN VARCHAR2,
      3  recipient IN VARCHAR2,
      4  subj IN VARCHAR2,
      5  message IN VARCHAR2)
      6  IS
      7  mailhost VARCHAR2(30) := '<smtp Server>';
      8  c utl_smtp.connection;
      9  PROCEDURE send_header( name IN VARCHAR2, header IN VARCHAR2) AS
    10  BEGIN
    11  utl_smtp.write_data(c, name || ': ' || header || utl_tcp.CRLF);
    12  END;
    13  BEGIN
    14  c := utl_smtp.open_connection(mailhost,25);
    15  utl_smtp.helo(c, mailhost);
    16  utl_smtp.mail(c, sender);
    17  utl_smtp.rcpt(c, recipient);
    18  utl_smtp.open_data(c);
    19  send_header('From', sender);
    20  send_header('To', recipient);
    21  -- If you need to send mail to more than one receipient, uncomment the
    22  -- following line(s) as appropriate. Please don't forget the ","
    23  -- in the "To" line before the next receipient's email id. You can't
    24  -- use a comma separated list in the receipient parameter.
    25  -- For variable number of "To"'s and "Cc"'s have multiple calls to
    26  -- "send_header" function inside a cursor for loop.
    27  -- Similar comments apply for "Cc" too.
    28  -- send_header('To', ',<email@domain>');
    29   send_header('Cc', ',<email@domain>');
    30  send_header('Subject', subj);
    31  utl_smtp.write_data(c, utl_tcp.CRLF || message);
    32  utl_smtp.close_data(c);
    33  utl_smtp.quit(c);
    34  EXCEPTION
    35  WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
    36  utl_smtp.quit(c);
    37  raise_application_error(-20000,
    38  'Failed to send mail due to the following error: ' || sqlerrm);
    39* END;
    SQL>
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   email_text varchar2(2000);
      3   contract_end_date_v date := sysdate;
      4   name_v varchar2(200) := 'Riaz';
      5   begin
      6    email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||'  المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى  <br/>.ولكم جزيل الشكر والتقدير  </font></div>';
      7    p_send_mail_test('<email@domain>','<email@domain>','Hello',email_text);
      8*  end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result_
    <div align="right"><font size="4"><b>????? Riaz ???????</b>
    ???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
    .???? ???? ????? ???????? </font></div>
    [Question marks along with all tags; this OTN page is converting that to HTML output]
    Option2
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure html_email(
      2      p_to            in varchar2,
      3      p_from          in varchar2,
      4      p_subject       in varchar2,
      5      p_text          in varchar2 default null,
      6      p_html          in varchar2 default null
      7  )
      8  is
      9      l_boundary      varchar2(255) default 'a1b2c3d4e3f2g1';
    10      l_connection    utl_smtp.connection;
    11      l_body_html     clob := empty_clob;  --This LOB will be the email message
    12      l_offset        number;
    13      l_ammount       number;
    14      l_temp          varchar2(32767) default null;
    15      l_smtp_hostname varchar2(50) := '<smtp Server>';
    16  begin
    17      l_connection := utl_smtp.open_connection( l_smtp_hostname, 25);
    18      utl_smtp.helo( l_connection, l_smtp_hostname );
    19      utl_smtp.mail( l_connection, p_from );
    20      utl_smtp.rcpt( l_connection, p_to );
    21      l_temp := l_temp || 'MIME-Version: 1.0' ||  chr(13) || chr(10);
    22      l_temp := l_temp || 'To: ' || p_to || chr(13) || chr(10);
    23      l_temp := l_temp || 'From: ' || p_from || chr(13) || chr(10);
    24      l_temp := l_temp || 'Subject: ' || p_subject || chr(13) || chr(10);
    25      l_temp := l_temp || 'Reply-To: ' || p_from ||  chr(13) || chr(10);
    26      l_temp := l_temp || 'Content-Type: multipart/alternative; boundary=' ||
    27                           chr(34) || l_boundary ||  chr(34) || chr(13) ||
    28                           chr(10);
    29      ----------------------------------------------------
    30      -- Write the headers
    31      dbms_lob.createtemporary( l_body_html, false, 10 );
    32      dbms_lob.write(l_body_html,length(l_temp),1,l_temp);
    33      ----------------------------------------------------
    34      -- Write the text boundary
    35      l_offset := dbms_lob.getlength(l_body_html) + 1;
    36      l_temp   := '--' || l_boundary || chr(13)||chr(10);
    37      l_temp   := l_temp || 'content-type: text/plain;charset=utf-8' ||
    38                    chr(13) || chr(10) || chr(13) || chr(10);
    39      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    40      ----------------------------------------------------
    41      -- Write the plain text portion of the email
    42      l_offset := dbms_lob.getlength(l_body_html) + 1;
    43      dbms_lob.write(l_body_html,length(p_text),l_offset,p_text);
    44      ----------------------------------------------------
    45      -- Write the HTML boundary
    46      l_temp   := chr(13)||chr(10)||chr(13)||chr(10)||'--' || l_boundary ||
    47                      chr(13) || chr(10);
    48      l_temp   := l_temp || 'content-type: text/html;charset=utf-8' ||
    49                     chr(13) || chr(10) || chr(13) || chr(10);
    50      l_offset := dbms_lob.getlength(l_body_html) + 1;
    51      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    52      ----------------------------------------------------
    53      -- Write the HTML portion of the message
    54      l_offset := dbms_lob.getlength(l_body_html) + 1;
    55      dbms_lob.write(l_body_html,length(p_html),l_offset,p_html);
    56      ----------------------------------------------------
    57      -- Write the final html boundary
    58      l_temp   := chr(13) || chr(10) || '--' ||  l_boundary || '--' || chr(13);
    59      l_offset := dbms_lob.getlength(l_body_html) + 1;
    60      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    61      ----------------------------------------------------
    62      -- Send the email in 1900 byte chunks to UTL_SMTP
    63      l_offset  := 1;
    64      l_ammount := 1900;
    65      utl_smtp.open_data(l_connection);
    66      while l_offset < dbms_lob.getlength(l_body_html) loop
    67          utl_smtp.write_data(l_connection,
    68                              dbms_lob.substr(l_body_html,l_ammount,l_offset));
    69          l_offset  := l_offset + l_ammount ;
    70          l_ammount := least(1900,dbms_lob.getlength(l_body_html) - l_ammount);
    71      end loop;
    72      utl_smtp.close_data(l_connection);
    73      utl_smtp.quit( l_connection );
    74      dbms_lob.freetemporary(l_body_html);
    75* end;
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   email_text varchar2(2000);
      3   contract_end_date_v date := sysdate;
      4   name_v varchar2(200) := 'Riaz';
      5   begin
      6    email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||'  المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى  <br/>.ولكم جزيل الشكر والتقدير  </font></div>';
      7    html_email(p_to=>'<email@domain>',p_from=>'<email@domain>',p_subject=>'Hello',p_text=>'Hi', p_html=>email_text);
      8*  end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result*
    ????? Riaz ???????
    ???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
    Option3
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure p_html_email_riaz(
      2      p_to            in varchar2,
      3      p_from          in varchar2,
      4      p_subject       in varchar2,
      5      p_text          in varchar2 default null,
      6      p_html          in varchar2 default null
      7  )
      8  is
      9      l_boundary      varchar2(255) default 'a1b2c3d4e3f2g1';
    10      l_connection    utl_smtp.connection;
    11      l_body_html     clob := empty_clob;  --This LOB will be the email message
    12      l_offset        number;
    13      l_ammount       number;
    14      l_temp          varchar2(32767) default null;
    15      l_smtp_hostname varchar2(50) := '<smtp Server>';
    16  begin
    17      l_connection := utl_smtp.open_connection( l_smtp_hostname, 25);
    18      utl_smtp.helo( l_connection, l_smtp_hostname );
    19      utl_smtp.mail( l_connection, p_from );
    20      utl_smtp.rcpt( l_connection, p_to );
    21      l_temp := l_temp || 'MIME-Version: 1.0' ||  chr(13) || chr(10);
    22      l_temp := l_temp || 'To: ' || p_to || chr(13) || chr(10);
    23      l_temp := l_temp || 'From: ' || p_from || chr(13) || chr(10);
    24      l_temp := l_temp || 'Subject: ' || p_subject || chr(13) || chr(10);
    25      l_temp := l_temp || 'Reply-To: ' || p_from ||  chr(13) || chr(10);
    26      l_temp := l_temp || 'Content-Type: multipart/alternative; boundary=' ||
    27                           chr(34) || l_boundary ||  chr(34) || chr(13) ||
    28                           chr(10);
    29      ----------------------------------------------------
    30      -- Write the headers
    31      dbms_lob.createtemporary( l_body_html, false, 10 );
    32      dbms_lob.write(l_body_html,length(l_temp),1,l_temp);
    33      ----------------------------------------------------
    34      -- Write the text boundary
    35      l_offset := dbms_lob.getlength(l_body_html) + 1;
    36      l_temp   := '--' || l_boundary || chr(13)||chr(10);
    37      l_temp   := l_temp || 'content-type: text/plain; charset=UTF-8' ||
    38                    chr(13) || chr(10) || chr(13) || chr(10);
    39      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    40      ----------------------------------------------------
    41      -- Write the plain text portion of the email
    42  /**
    43      l_offset := dbms_lob.getlength(l_body_html) + 1;
    44      dbms_lob.write(l_body_html,length(p_text),l_offset,p_text);
    45  **/
    46      ----------------------------------------------------
    47      -- Write the HTML boundary
    48      l_temp   := chr(13)||chr(10)||chr(13)||chr(10)||'--' || l_boundary ||
    49                      chr(13) || chr(10);
    50      l_temp   := l_temp || 'content-type: text/html;' ||
    51                     chr(13) || chr(10) || chr(13) || chr(10);
    52      l_offset := dbms_lob.getlength(l_body_html) + 1;
    53      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    54      ----------------------------------------------------
    55      -- Write the HTML portion of the message
    56      l_offset := dbms_lob.getlength(l_body_html) + 1;
    57      dbms_lob.write(l_body_html,length(p_html),l_offset,p_html);
    58      ----------------------------------------------------
    59      -- Write the final html boundary
    60      l_temp   := chr(13) || chr(10) || '--' ||  l_boundary || '--' || chr(13);
    61      l_offset := dbms_lob.getlength(l_body_html) + 1;
    62      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    63      ----------------------------------------------------
    64      -- Send the email in 1900 byte chunks to UTL_SMTP
    65      l_offset  := 1;
    66      l_ammount := 1900;
    67      utl_smtp.open_data(l_connection);
    68      while l_offset < dbms_lob.getlength(l_body_html) loop
    69          utl_smtp.write_raw_data(l_connection,
    70              utl_raw.cast_to_raw(
    71                  dbms_lob.substr(l_body_html,l_ammount,l_offset ) ) );
    72          l_offset  := l_offset + l_ammount ;
    73          l_ammount := least(1900,dbms_lob.getlength(l_body_html) - l_ammount);
    74      end loop;
    75      utl_smtp.close_data(l_connection);
    76      utl_smtp.quit( l_connection );
    77      dbms_lob.freetemporary(l_body_html);
    78* end;
    SQL>
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   email_text varchar2(2000);
      3   contract_end_date_v date := sysdate;
      4   name_v varchar2(200) := 'Riaz';
      5   begin
      6    email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||'  المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى  <br/>.ولكم جزيل الشكر والتقدير  </font></div>';
      7    p_html_email_riaz(p_to=>'<email@domain>',p_from=>'<email@domain>',p_subject=>'Hello',p_text=>'Hi', p_html=>email_text);
      8*  end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result*
    GaSmO Riaz GacMJQc
    mQLl GaJ_Qc HGaZac Cd GaZ^O GaNGU H_c SmdJem HJGQmN 12-07-2011
    . fZame mQL\l GaJ_\Qc HE]GOI EOGQI GacfGQO GaHTQmI ]m MGa ZOc Q[HJ_c HJLOmO GaZ^O NaGa cOI C^UeG CSHfZmd cd Gamfc fPa_ aaCecmI Ga^Ufl
    .fa_c LRma GaT_Q fGaJ^OmQ
    *Option4*
    [code]
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE OR REPLACE PROCEDURE send_email_html_test(
    2 pi_from IN Varchar,
    3 pi_to IN VARCHAR,
    4 pi_cc IN Varchar,
    5 pi_subj IN VARCHAR,
    6 pi_msg CLOB
    7 )
    8 IS
    9 conn utl_smtp.connection;
    10 lv_mailhost varchar2(1000);
    11 lv_port number;
    12 BEGIN
    13 lv_mailhost := '<smtp Server>';
    14 lv_port := 25;
    15 conn := utl_smtp.open_connection(lv_mailhost, lv_port);
    16 utl_smtp.helo(conn, lv_mailhost);
    17 utl_smtp.mail(conn, pi_from);
    18 utl_smtp.rcpt(conn, pi_to);
    19 IF pi_cc is not null THEN
    20 utl_smtp.rcpt(conn, pi_cc);
    21 END IF;
    22 utl_smtp.open_data(conn);
    23 utl_smtp.write_data(conn, 'MIME-version: 1.0' || utl_tcp.CRLF);
    24 utl_smtp.write_data(conn, 'Content-Type: text/html; charset=iso-8859-6' ||
    25 utl_tcp.CRLF);
    26 utl_smtp.write_data(conn, 'Content-Transfer-Encoding: 8bit' ||
    27 utl_tcp.CRLF);
    28 utl_smtp.write_data(conn, 'From:' ||pi_from || utl_tcp.CRLF);
    29 utl_smtp.write_data(conn, 'To:' ||pi_to || utl_tcp.CRLF);
    30 utl_smtp.write_data(conn, 'Cc:' ||pi_cc || utl_tcp.CRLF);
    31 utl_smtp.write_data(conn, 'Reply-To:' ||pi_from || utl_tcp.CRLF);
    32 utl_smtp.write_data(conn, 'Subject:' ||pi_subj|| utl_tcp.CRLF);
    33 utl_smtp.write_data(conn, utl_tcp.crlf);
    34 utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw(pi_msg));
    35 utl_smtp.close_data(conn);
    36 utl_smtp.quit(conn);
    37 EXCEPTION WHEN others THEN
    38 dbms_output.put_line(sqlerrm);
    39* END;
    40 /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
    1 declare
    2 email_text varchar2(2000);
    3 contract_end_date_v date := sysdate;
    4 name_v varchar2(200) := 'Riaz';
    5 begin
    6 email_text :='
    <div align="right"><font size="4"><b>السيد '||name_v||' المحترم</b>
    يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'
    . وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى
    .ولكم جزيل الشكر والتقدير </font></div>';
    7 send_email_html_test('<email@domain>',
    8           '<email@domain>',
    9 '<email@domain>',
    10 'Hello',email_text);
    11* end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result*
    Riaz افكحترك
    ٍرجٌ افترك بافغفك أل افغد افخاص بك سٍلتمٍ بتارٍخ 12-07-2011
    . نغفٍم ٍرجٌ افترك بإادة إدارة افكنارد افبشرٍة ٍ حاف غدك ربتك بتجدٍد افغد خفاف كدة أصما أسبنغٍل كل افٍنك نذف ففأمكٍة افصنٌ
    .نفك جزٍف افشر نافتدٍر
    Option5
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE PROCEDURE send_mail_test1 (p_to        IN VARCHAR2,
      2                                         p_from      IN VARCHAR2,
      3                                         p_subject   IN VARCHAR2,
      4                                         p_text_msg  IN VARCHAR2 DEFAULT NULL,
      5                                         p_html_msg  IN VARCHAR2 DEFAULT NULL,
      6                                         p_smtp_host IN VARCHAR2,
      7                                         p_smtp_port IN NUMBER DEFAULT 25)
      8  AS
      9    l_mail_conn   UTL_SMTP.connection;
    10    l_boundary    VARCHAR2(50) := '----=*#abc1234321cba#*=';
    11  BEGIN
    12    l_mail_conn := UTL_SMTP.open_connection(p_smtp_host, p_smtp_port);
    13    UTL_SMTP.helo(l_mail_conn, p_smtp_host);
    14    UTL_SMTP.mail(l_mail_conn, p_from);
    15    UTL_SMTP.rcpt(l_mail_conn, p_to);
    16    UTL_SMTP.open_data(l_mail_conn);
    17    UTL_SMTP.write_data(l_mail_conn, 'Date: ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') || UTL_TCP.crlf);
    18    UTL_SMTP.write_data(l_mail_conn, 'To: ' || p_to || UTL_TCP.crlf);
    19    UTL_SMTP.write_data(l_mail_conn, 'From: ' || p_from || UTL_TCP.crlf);
    20    UTL_SMTP.write_data(l_mail_conn, 'Subject: ' || p_subject || UTL_TCP.crlf);
    21    UTL_SMTP.write_data(l_mail_conn, 'Reply-To: ' || p_from || UTL_TCP.crlf);
    22    UTL_SMTP.write_data(l_mail_conn, 'MIME-Version: 1.0' || UTL_TCP.crlf);
    23    UTL_SMTP.write_data(l_mail_conn, 'Content-Type: multipart/alternative; boundary="' || l_boundary || '"' || UTL_TCP.crlf || UTL_TCP.crlf);
    24    IF p_text_msg IS NOT NULL THEN
    25      UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
    26      UTL_SMTP.write_data(l_mail_conn, 'Content-Type: text/plain; charset="utf-8"' || UTL_TCP.crlf || UTL_TCP.crlf);
    27      UTL_SMTP.write_data(l_mail_conn, p_text_msg);
    28      UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
    29    END IF;
    30    IF p_html_msg IS NOT NULL THEN
    31      UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
    32      UTL_SMTP.write_data(l_mail_conn, 'Content-Type: text/html; charset="utf-8"' || UTL_TCP.crlf || UTL_TCP.crlf);
    33      UTL_SMTP.write_data(l_mail_conn, p_html_msg);
    34      UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
    35    END IF;
    36    UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || '--' || UTL_TCP.crlf);
    37    UTL_SMTP.close_data(l_mail_conn);
    38    UTL_SMTP.quit(l_mail_conn);
    39* END;
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   email_text varchar2(2000);
      3   contract_end_date_v date := sysdate;
      4   name_v varchar2(200) := 'Riaz';
      5   begin
      6    email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||'  المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى  <br/>.ولكم جزيل الشكر والتقدير  </font></div>';
      7    send_mail_test1('<email@domain>',
      8                   '<email@domain>',
      9                         'Hello',
    10                 'msg',
    11                 email_text,
    12                 '<smtp Server>',
    13                 25);
    14*  end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result*
    ????? Riaz ???????
    ???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
    .???? ???? ????? ????????

    I worked with Oracle support and was able to find solution. The helping document ids were: 752309.1 & 404389.1

  • Generate HTML emails for MSN/Yahoo/etc??

    Is there a program out there that will generate the HTML code
    that can be
    used for HTML emails sent to Yahoo/MSN and others??
    Does anyone use anything like this?

    CF in an HTML email?
    Nuh uh....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "steve grosz" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello Murray *ACE*,
    >
    > Because when I generate the code, it doesn't display the
    background in
    > Yahoo/MSN. Code is attached, maybe you can see something
    that jumps out at
    > you??
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <HTML>
    >
    > <HEAD>
    > <META http-equiv="content-type"
    content="text/html;charset=iso-8859-1">
    > <TITLE>Salle Boise Fencing Club &bull; How
    To</TITLE>
    > <meta http-equiv="pragma" content="no-cache">
    > <link rel="shortcut icon"
    href="EventReg/favicon.ico">
    > <META Name="robots" CONTENT="NOODP"> <meta
    name="description"
    > content="Salle Boise Fencing Club provides detailed
    instructions on how to
    > rewire a foil and/or epee blade">
    > <meta name="keywords" content="fencing, Boise, Idaho,
    ID, foil,
    > epee, instructions, rewire">
    >
    > </HEAD>
    >
    > <BODY style="background-color:##000033;"
    bgcolor="##000033">
    > <TABLE border="0" cellpadding="0" cellspacing="5"
    width="700">
    > <TR>
    > <TD colspan="2" align="center"><IMG
    > src="
    http://www.salleboise.com/images/logo1.gif"
    width="512"
    > height="114"></TD>
    > </TR>
    > <TR>
    >
    > <TD align="center" width="700" valign="top">
    > <TABLE border="0" cellpadding="0" cellspacing="0">
    > <TR height="10">
    > <TD width="10" height="10" bgcolor="##ffffff"
    align="left"
    > valign="top"><IMG src="
    http://www.salleboise.com/images/ul.gif"
    width="10"
    > height="10"></TD>
    > <TD width="470" bgcolor="##ffffff"
    height="10"> </TD>
    > <TD width="10" align="right" valign="top" height="10"
    > bgcolor="##ffffff"><IMG src="
    http://www.salleboise.com/images/ur.gif"
    > width="10" height="10"></TD>
    > </TR>
    > <TR height="350">
    > <TD width="10" bgcolor="##ffffff"> 
    </TD>
    > <TD width="470" bgcolor="##ffffff"
    valign="top"><P>
    >
    > <span style="font-family:Arial, Helvetica,
    sans-serif; font-size:16px;
    > font-weight:bold;">Event Confirmation</span>
    > <p>#arguments.regName#,<br>
    > Thank you for pre-registering for the
    > #arguments.qry.TournName# tournament.</p>
    >
    > <p>We show that you have registered for
    the:<br>
    > Open Foil: <cfif arguments.foil eq 1><img
    > src="
    http://www.salleboise.com/images/tick.gif"><cfelse><img
    > src="
    http://www.salleboise.com/images/cross.gif"></cfif><br>
    > <cfif arguments.qry.e_epee eq 1>
    > Open Epee: <cfif arguments.epee eq 1><img
    > src="
    http://www.salleboise.com/images/tick.gif"><cfelse><img
    > src="
    http://www.salleboise.com/images/cross.gif"></cfif></cfif>
    > <br></p>
    > <hr style="width:60%; color:##000031;"
    align="center">
    > <p>
    > <strong>The event will be held
    at:</strong><br>
    > <span style="margin-left:10px;">West Valley
    YMCA</span><br>
    > <span style="margin-left:10px;">5959 N Discovery
    Way</span><br>
    > <span style="margin-left:10px;">Boise, ID
    83713</span></p>
    > <p><strong>The start times for the event are
    as follows:</strong><br>
    > <span style="margin-left:10px;">Open Foil:
    > #timeformat(arguments.qry.TournDateTime,"h:mm tt")#
    (please be there by at
    > least 20 minutes early to check in if you haven't
    > pre-registered</span><br>
    > <cfif arguments.epee eq 1><span
    style="margin-left:10px;">Open Epee:
    > TBD - depending on the number of fencers (More
    information will
    > follow)</span></cfif></p>
    > <cfif arguments.qry.EventType eq 0><p>This
    event is a USFA event,
    > membership cards will be checked. If you do not have a
    current
    > membership, USFA forms will be
    available.</p><cfelse>
    > <p>This is a non-USFA event</p>
    > </cfif>
    > <hr style="width:60%; color:##000031;"
    align="center">
    >
    > <p><strong>You can mail your payment in
    advance to:</strong><br>
    > <span style="margin-left:10px;">Salle
    Boise</span><br>
    > <span style="margin-left:10px;">P.O. Box
    7285</span><br>
    > <span style="margin-left:10px;">Boise, ID
    83707</span>
    > <p>Or, if you would rather, you can pay the day of
    the event.</p> </p>
    > <hr style="width:60%; color:##000031;"
    align="center">
    > <p>
    > <strong>Nearby lodging:</strong><br>
    > <span style="margin-left:10px;">SpringHill Suites
    By Marriott
    > Boise</span><br>
    > <span style="margin-left:10px;">6325 North
    Cloverdale</span><br>
    > <span style="margin-left:10px;">Boise, Idaho
    83713</span><br>
    > <span style="margin-left:10px;">Phone:
    1-208-939-8266</span></p>
    > <p>Other options are available, if you need
    further assistance, please
    > contact one of the members of Salle Boise.</p>
    > <hr style="width:60%; color:##000031;"
    align="center">
    > <p><strong>Additional
    notes:</strong><br>There is also a message forum
    > where fencers can ask questions about the tournament, or
    get additional
    > fencing information, at <a
    > href="
    http://www.salleboise.com/forums/">www.salleboise.com/forums/</a></p>
    > <p>If your club has any other equipment, such as
    scoring boxes, reels,
    > floorcords, etc., it would be much appreciated if you
    could bring those
    > items with you for the event.</p>
    > <p>You can check back to see the confirmed entries
    for this event at: <a
    > href="
    http://www.salleboise.com/confirmed.cfm?tid=#url.tid#">http://www.salleboise.com/confirmed .cfm</a>,
    > and if needed, you can withdrawn from the event at that
    location as
    > well.</p>
    >
    > <p>
    > Thank you again, and we look forward to seeing you on
    the
    >
    #dateformat(arguments.qry.TournDateTime,"d")#<sup>#arguments.ordinal#</sup>.</p>
    > <p align="center">You can also see who is
    currently registered for the
    > event by clicking <a
    > href="
    http://www.salleboise.com/confirmed.cfm?tid=47">here</a>.</p>
    </TD>
    > <TD width="10"
    bgcolor="##ffffff"> </TD>
    > </TR>
    > <TR height="10">
    > <TD width="10" valign="bottom" height="10"
    bgcolor="##ffffff"
    > align="left">
    > <IMG src="
    http://www.salleboise.com/images/ll.gif"
    width="10"
    > height="10"></TD>
    > <TD width="470" bgcolor="##ffffff"
    height="10"> </TD>
    > <TD width="10" align="right" valign="bottom"
    height="10"
    > bgcolor="##ffffff"><IMG src="
    http://www.salleboise.com/images/lr.gif"
    > width="10" height="10"></TD>
    > </TR>
    > </TABLE> </TD>
    > </TR>
    > <TR>
    > <TD colspan="2" align="right">
    > </TD>
    > </TR>
    > </TABLE>
    > </BODY>
    >
    > </HTML>
    >
    >>> Is there a program out there that will generate
    the HTML code that
    >>> can be used for HTML emails sent to Yahoo/MSN
    and others??
    >>>
    >> It's called Dreamweaver. Why would you NOT use this?
    >>
    >> "steve grosz" <[email protected]> wrote
    in message
    >>
    news:[email protected]...
    >>
    >>> Is there a program out there that will generate
    the HTML code that
    >>> can be used for HTML emails sent to Yahoo/MSN
    and others??
    >>>
    >>> Does anyone use anything like this?
    >>>
    >
    >

  • HTML email in Lotus Notes 4.6.7

    Sorry if this question has been asked before. A quick search found quite a few Lotus Notes related topics, but nothing specific to my problem.
    I have an HTML email which looks fine in Microsoft Outlook, but which looks hideous in Lotus Notes 4.6.7. CSS styling seems to be ignored, and images that should be embedded simply appear as a big list of attachments at the bottom of the email.
    Has anyone overcome similar issues, and know of any configuration changes I can make in Lotus Notes to try and sort this out? I could post some code, but I think this is more to do with Lotus Notes failings?
    Thanks, Neil

    According to IBM JavaMail only works properly with v5 up. There's a Red Book kicking around on their site which goes into detail - sorry, can't remember the title, but I did read it a couple of months ago. Have a search, you should find it.

  • HTML Email Client for Blackberry

    Hello,
      Forgive me if my question seems elementary, but I am new to the forum and to use of the Blackberry.  I currently have an 8830 World Edition phone and have configure on POP email address on the device.  I can access my emails successfully.  However, if I receive an email that contains any sort of Internet type code (HTML, Java, Javascript, etc), the code does not translate and I only recieve the actual code in the email.  It is unformatted.  I tried to download a couple of so-called HTML email clients from Handango, however they seem to be limited.  I am thinking that there should be a client or a configuration for the Blackberry that would allow me to see Internet related emails formatted as intended.  Anyone run into this issue or have any suggestions?  I am deperately looking for a solution.  Thanks in advance for your input.

    As you mentioned you can't view HTML formatting in your email you might be running on BIS 2.4. RIM recently introduced BIS 2.5 which supports HTML email view for its BIS customers. But this yet to be implemented for all the carriers as its been done phase by phase. For getting HTML view you also need to have device OS 4.5 (4.3 for 8110). So you're not far away from your wish!!! But can also have 3rd party software which can do the same trick for you but again these are not free.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • BusinessConnector pub.client.smtp and HTML email

    Is there any way to send HTML email with the pub.client.smtp service of the Business Connector 4.7?
    I haven't found a way to set the content type to "text/html".
    As a consequence my mail-client doesn't recognize that it's getting an HTML email and simply displays the source code.
    Sebastian Millies
    IDS Scheer AG

    To asnwer my own question: It is possible to use the MIME stream parameter in pub.client.http. An example of how to create a MIME stream is in the WmSamples package.
    -- Sebastian

  • Slicing an image to be used as a nav bar for html email

    The html email that I've created renders as designed in most email clients.  It doesn't in Outlook 2007.  It was suggested that I slice an image for the nav bar so it displays horizontally as designed instead of vertically.
    It's been a long time since I used slicing images in Photoshop.  It doesn't appear that Image Ready is there anymore.  I use Photoshop CS3.  Is there a straightforward document that could walk me through the steps to accomplish this?  Using the Photoshop "help" confuses the heck out of me and when I asked this question in the Photoshop forum, many looked at it but I've had no responses.  Or could it be done in Dreamweaver somehow?
    The web version of the html email is:  http://www.theshimogaproject.com/email/riverrun-guests-email.html

    You can't use DW to slice an image. Do you have Fireworks? It's really easy to do it in Fireworks, that's what I would use. If you need to use PhotoShop, a quick Google search, "slicing images in photoshop," return plenty of tutorials that you can choose from.

Maybe you are looking for

  • Data Extraction template

    Hi,     In my current project there is a requirement for Data migration from legacy, So can anyone please help me on providing the data extraction template for Vendor and customer open line items, G/L balances and for Bank directory,    Your help in

  • Javascript setting value in session state

    I have a javascript that figures our the interest rate for a mortgage loan based on principal balance, term and monthly payment. The script also rounds up to the nearest 8th. Here is the line code that sets the value on the APEX form: document.getEle

  • Import quality issue with AVC/H.264 and workaround

    When I import from my Sanyo Xacti HD700 using "Import from Camera..." the import quality has significant blocking / compression artifacts. However, if I copy the same file off the SD card from the camera and play it back in QTplayer it does not have

  • Backing Up Media

    Hello I'm not sure if this question can be answered here. I've already posted a similar question on the hardware forum; I'm an experienced FC user who believes in backing up media on a regular basis. I use 'Super Duper' usually with good results. I a

  • Printer Setup utility freezing

    We are having a problem on 3 machines, with the printer setup utility freezing when a user logs in. it obviously effects microsoft office products etc. I have read the other posts and checked that users can manage printers but this is still happening