Issue with html text in email body

Certified Associate Developer

While sending the email, some of the text is getting removed and receiving only partial text.

Below is the html text:

<p><span style="font-size: 10pt;">Dear colleagues,</span></p><p style="text-align:start;"><span style=""><span windowtext="" 1.0pt;mso-border-alt:none="" 0in;padding:0in;mso-ansi-language:en-us'="" style="font-size: 10pt;">&nbsp;</span></span><span style="font-size:10.0pt;"></span></p><p style="text-align:start;"><span style=""><span windowtext="" 1.0pt;mso-border-alt:none="" '="" style="">Please note that the EU approval by CHMP Positive opinion has been granted on 05 December 2024 for&nbsp;</span><span style="">KEYTRUDA (pembrolizumab) for variation EMEA/H/C/3820/II/016 which removes the instruction "Remove from light" for the diluted product from the Product information</span></span><span style="">.</span></p><p style="text-align:start;"><span style=""><span>&nbsp;</span></span></p><p style="text-align:start;"><span style=""><span style="">There is no corresponding CCDS update for this update,however the correction is linked to CCDS-MK3475-IV-042024.</span></span></p><p style="text-align:start;"><span style=""><span>&nbsp;</span></span></p><p style="text-align:start;"><span style="font-size: 10pt;">This variation has an impact on Section 6.3 of the KEYTRUDA SPC, as well as the information for healthcare professionals in the Leaflet.</span></p><p style="text-align:start;"><span style=""><span windowtext="" 1.0pt;mso-border-alt:none="" 0in;padding:0in;mso-ansi-language:en-us'="">Priority level is: Standard</span>.</span></p><p style="text-align:start;"><span style=""><span windowtext="" 1.0pt;mso-border-alt:none="" 0in;padding:0in;mso-ansi-language:en-us'="">&nbsp;</span></span><span style="font-size:10.0pt;"></span></p><p style="text-align:start;"><span style=""><span windowtext="" 1.0pt;mso-border-alt:none="" 0in;padding:0in;mso-ansi-language:en-us'="">Please note that, due to approval of procedures II/0160 +II/0161 + II/0162 in the same time frame, there are only consolidated PI’s with the changes of the 3 procedures available in MUSE -</span></span> <span style="">muse.merck.com</.../p><p style="text-align:start;"><span style=""><span>&nbsp;</span></span></p><p style="text-align:start;"><span style=""><span windowtext="" 1.0pt;mso-border-alt:none="" 0in;padding:0in;mso-ansi-language:en-us'="">Therefore, we attach the English WRM and CRT PI with the changes of II/0162 only to this mail.</span></span><span></span></p><p style="text-align:start;"><span style=""><span>&nbsp;</span></span></p><p style="text-align:start;"><span style=""><span windowtext="" 1.0pt;mso-border-alt:none="" 0in;padding:0in;mso-ansi-language:en-us'="">Thank you and warm regards,</span></span></p><p style="text-align:start;"><span style=""><span style="font-size:10.0pt;">Natalia</span></span></p><p></p>

Below is the email received:

In the email after "Dear colleagues" it  directly shows "Priority level -"  instead it should show

Help me in resolving this issue with html text.

  Discussion posts and replies are publicly visible

  • 0
    Certified Senior Developer

    Hi  , Here is the corrected version

    <p style="font-size: 10pt;">Dear colleagues,</p>

    <p style="font-size: 10pt;">Please note that the EU approval by CHMP Positive opinion has been granted on 05 December 2024 for
    KEYTRUDA (pembrolizumab) for variation EMEA/H/C/3820/II/016, which removes the instruction "Remove from light" for the diluted product from the Product Information.</p>

    <p style="font-size: 10pt;">There is no corresponding CCDS update for this update; however, the correction is linked to CCDS-MK3475-IV-042024.</p>

    <p style="font-size: 10pt;">This variation impacts Section 6.3 of the KEYTRUDA SPC, as well as the information for healthcare professionals in the leaflet.</p>

    <p style="font-size: 10pt;"><strong>Priority level:</strong> Standard</p>

    <p style="font-size: 10pt;">Please note that, due to the approval of procedures II/0160 + II/0161 + II/0162 in the same time frame, only consolidated PI’s with the changes from all three procedures are available in MUSE - <a href="">muse.merck.com">muse.merck.com</.../p>

    <p style="font-size: 10pt;">Therefore, we attach the English WRM and CRT PI with the changes of II/0162 only to this mail.</p>

    <p style="font-size: 10pt;">Thank you and warm regards,</p>

    <p style="font-size: 10pt;">Natalia</p>

  • 0
    Certified Associate Developer

    Hi 

    Try this it may help you.

    <p style="font-size: 10pt;">Dear colleagues,</p>
    <p style="font-size: 10pt;">
    Please note that the EU approval by CHMP Positive opinion has been granted on
    05 December 2024 for<br />KEYTRUDA (pembrolizumab) for variation
    EMEA/H/C/3820/II/016, which removes the instruction "Remove from light" for
    the diluted product from the Product Information.
    </p>
    <p style="font-size: 10pt;">
    There is no corresponding CCDS update for this update; however, the correction
    is linked to CCDS-MK3475-IV-042024.
    </p>
    <p style="font-size: 10pt;">
    This variation impacts Section 6.3 of the KEYTRUDA SPC, as well as the
    information for healthcare professionals in the leaflet.
    </p>
    <p style="font-size: 10pt;">Priority level: Standard</p>
    <p style="font-size: 10pt;">
    Please note that, due to the approval of procedures II/0160 + II/0161 +
    II/0162 in the same time frame, only consolidated PI&rsquo;s with the changes
    from all three procedures are available in MUSE -
    muse.merck.com"&gt;muse.merck.com
    </p>
    <p style="font-size: 10pt;">
    Therefore, we attach the English WRM and CRT PI with the changes of II/0162
    only to this mail.
    </p>
    <p style="font-size: 10pt;">Thank you and warm regards,</p>
    <p style="font-size: 10pt;">Natalia</p>

  • 0
    Certified Lead Developer
    in reply to baji mekala

    Why don't you try using HTML tables (or <p> as other user suggested)  instead of <span>? I think it's much easier 

  • 0
    Certified Lead Developer

    The prior examples offered here by other users demonstrate some nice clean HTML.  I think the main takeaway is, you should probably stick to hand-entered basic HTML for emails instead of pasting in whatever junk gets auto-generated elsewhere (it looks like your original version was generated by Word or something, with lots of overhead and fluff and unnecessary junk included).  The basics necessary for a simple HTML email are pretty easy.