Change Mime Content type with BPM ABL

This works perfectly. Thank you.


On Monday, November 4, 2013 11:42 AM, Jose Gomez <jose@...> wrote:
 
<div id="ygrps-yiv-1741271493yiv5657979198ygrp-text">
  
  
  <div dir="ltr"><div style="font-family:verdana, sans-serif;font-size:small;" class="ygrps-yiv-1741271493yiv5657979198gmail_default">Add that string as the last parameter sent to the email function. Currently its &quot;&quot; for your code.</div></div><div class="ygrps-yiv-1741271493yiv5657979198gmail_extra">



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Mon, Nov 4, 2013 at 12:37 PM, Marc Livingston <livingstonmh@...> wrote:

 
<div>
  
  
  <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"><div><span>How would the code look to achieve this? </span></div><div><span>I do not know what the handle will accept:</span></div>
 

define variable vFrom as character no-undo initial '':U.

                define
variable vTo as character no-undo initial '':U.

                define
variable vCC as character no-undo initial '':U.

                define
variable vSubject as character no-undo initial '':U.

                define
variable vBody as character no-undo initial '':U.

                define
variable hEmailEx as handle no-undo.

                run
Bpm/BpmEmail.p persistent set hEmailEx.

                define
variable from_cnt as integer no-undo.

                define
variable to_cnt as integer no-undo.

                define
variable cc_cnt as integer no-undo.

                define
variable subject_cnt as integer no-undo.

                define
variable body_cnt as integer no-undo.

                assign
vFrom = ''

                vTo =
'Email Address '

                vCC =
''

               
vSubject =

                vBody
=

                run
SendEmail in hEmailEx (

                false,

               
CUR-COMP,

                vFrom,

                vTo,

                vCC,

               
vSubject,

                vBody,

               
"":U

                ).

/* async as logical

company as character

emailFrom as character

emailTo as character

emailCC as character

emailSubject as character

emailText as character

emailMimeHeader as character */

 

                if
valid-handle(hEmailEx) then do:

                   
delete procedure hEmailEx.

                   
leave.

                   
End.



On Monday, November 4, 2013 11:27 AM, Jose Gomez <jose@...> wrote:
 
<div>
  
  
  <div dir="ltr"><div style="font-family:verdana, sans-serif;font-size:small;"><span style="color:rgb(51, 51, 51);font-family:Menlo, Monaco, Consolas,;">&quot;type=text/html:charset=us-</span><span style="color:rgb(51, 51, 51);font-family:Menlo, Monaco, Consolas,;">ascii:filetype=ascii&quot;</span><br clear="none">


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile


Quis custodiet ipsos custodes?


On Mon, Nov 4, 2013 at 11:32 AM, <livingstonmh@...> wrote:

 
<div>
  
  
  <div>Does anyone know how to change the MIME Content type from text/plain to text/html ?</div><div>&nbsp;</div><div>I have been using the code provided in an answer book, but I can&#39;t seem to get this working.<var></var></div>





</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div><div style="color:rgb(255, 255, 255);"></div></div>


</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div id="ygrps-yiv-1741271493yiv5657979198yqt06100" class="ygrps-yiv-1741271493yiv5657979198yqt7355178602"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>
#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198 -- #ygrps-yiv-1741271493yiv5657979198ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mkp #ygrps-yiv-1741271493yiv5657979198hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mkp #ygrps-yiv-1741271493yiv5657979198ads {
margin-bottom:10px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mkp .ygrps-yiv-1741271493yiv5657979198ad {
padding:0 0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mkp .ygrps-yiv-1741271493yiv5657979198ad p {
margin:0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mkp .ygrps-yiv-1741271493yiv5657979198ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-sponsor #ygrps-yiv-1741271493yiv5657979198ygrp-lc {
font-family:Arial;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-sponsor #ygrps-yiv-1741271493yiv5657979198ygrp-lc #ygrps-yiv-1741271493yiv5657979198hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-sponsor #ygrps-yiv-1741271493yiv5657979198ygrp-lc .ygrps-yiv-1741271493yiv5657979198ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198activity span {
font-weight:700;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198activity span span {
color:#ff7900;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198activity span .ygrps-yiv-1741271493yiv5657979198underline {
text-decoration:underline;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198attach div a {
text-decoration:none;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198attach img {
border:none;padding-right:5px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198attach label a {
text-decoration:none;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198bold a {
text-decoration:none;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 dd.ygrps-yiv-1741271493yiv5657979198last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 dd.ygrps-yiv-1741271493yiv5657979198last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 dd.ygrps-yiv-1741271493yiv5657979198last p span.ygrps-yiv-1741271493yiv5657979198yshortcuts {
margin-right:0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198attach-table div div a {
text-decoration:none;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198attach-table {
width:400px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198file-title a, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198file-title a:active, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198file-title a:hover, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198file-title a:visited {
text-decoration:none;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198photo-title a, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198photo-title a:active, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198photo-title a:hover, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div.ygrps-yiv-1741271493yiv5657979198photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 div#ygrps-yiv-1741271493yiv5657979198ygrp-mlmsg #ygrps-yiv-1741271493yiv5657979198ygrp-msg p a span.ygrps-yiv-1741271493yiv5657979198yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198green {
color:#628c2a;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 o {
font-size:0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198photos div {
float:left;width:72px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198reco-category {
font-size:77%;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198reco-desc {
font-size:77%;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 .ygrps-yiv-1741271493yiv5657979198replbq {
margin:4px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mlmsg select, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 input, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mlmsg pre, #ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 code {
font:115% monospace;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-mlmsg #ygrps-yiv-1741271493yiv5657979198logo {
padding-bottom:10px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-msg p#ygrps-yiv-1741271493yiv5657979198attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-reco #ygrps-yiv-1741271493yiv5657979198reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-sponsor #ygrps-yiv-1741271493yiv5657979198ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-sponsor #ygrps-yiv-1741271493yiv5657979198ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-sponsor #ygrps-yiv-1741271493yiv5657979198ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-text {
font-family:Georgia;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-text tt {
font-size:120%;}

#ygrps-yiv-1741271493 #ygrps-yiv-1741271493yiv5657979198 #ygrps-yiv-1741271493yiv5657979198ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-1741271493



Does anyone know how to change the MIME Content type from text/plain to text/html ?

 

I have been using the code provided in an answer book, but I can't seem to get this working.

"type=text/html:charset=us-ascii:filetype=ascii"


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Mon, Nov 4, 2013 at 11:32 AM, <livingstonmh@...> wrote:

Â
<div>
  
  
  <p></p><p>Does anyone know how to change the MIME Content type from text/plain to text/html ?</p><p>Â </p><p>I have been using the code provided in an answer book, but I can&#39;t seem to get this working.<var></var></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>

How would the code look to achieve this?
I do not know what the handle will accept:
 

define variable vFrom as character no-undo initial '':U.

                define
variable vTo as character no-undo initial '':U.

                define
variable vCC as character no-undo initial '':U.

                define
variable vSubject as character no-undo initial '':U.

                define
variable vBody as character no-undo initial '':U.

                define
variable hEmailEx as handle no-undo.

                run
Bpm/BpmEmail.p persistent set hEmailEx.

                define
variable from_cnt as integer no-undo.

                define
variable to_cnt as integer no-undo.

                define
variable cc_cnt as integer no-undo.

                define
variable subject_cnt as integer no-undo.

                define
variable body_cnt as integer no-undo.

                assign
vFrom = ''

                vTo =
'Email Address '

                vCC =
''

               
vSubject =

                vBody
=

                run
SendEmail in hEmailEx (

                false,

               
CUR-COMP,

                vFrom,

                vTo,

                vCC,

               
vSubject,

                vBody,

               
"":U

                ).

/* async as logical

company as character

emailFrom as character

emailTo as character

emailCC as character

emailSubject as character

emailText as character

emailMimeHeader as character */

 

                if
valid-handle(hEmailEx) then do:

                   
delete procedure hEmailEx.

                   
leave.

                   
End.



On Monday, November 4, 2013 11:27 AM, Jose Gomez <jose@…> wrote:

 

<div id="ygrps-yiv-729718099yiv1036930313ygrp-text">
  
  
  <div dir="ltr"><div style="font-family:verdana, sans-serif;font-size:small;" class="ygrps-yiv-729718099yiv1036930313gmail_default"><span style='color:rgb(51, 51, 51);font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(248, 248, 255);'>&quot;type=text/html:charset=us-</span><span style='color:rgb(51, 51, 51);font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:12px;white-space:pre-wrap;background-color:rgb(248, 248, 255);'>ascii:filetype=ascii&quot;</span><br clear="none">


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     <a rel=“nofollow” target=“_blank” href=“Jose C Gomez” shape=“rect”

 


Quis custodiet ipsos custodes?


On Mon, Nov 4, 2013 at 11:32 AM, <livingstonmh@...> wrote:

 
<div>
  
  
  <div>Does anyone know how to change the MIME Content type from text/plain to text/html ?</div><div>&nbsp;</div><div>I have been using the code provided in an answer book, but I can&#39;t seem to get this working.<var></var></div>



</div>
 


<div style="color:rgb(255, 255, 255);"></div>

</div>
 


<div id="ygrps-yiv-729718099yiv1036930313yqt11510" class="ygrps-yiv-729718099yiv1036930313yqt7411432678"><div style="height:0px;color:rgb(255, 255, 255);"></div></div>
#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313 -- #ygrps-yiv-729718099yiv1036930313ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mkp #ygrps-yiv-729718099yiv1036930313hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mkp #ygrps-yiv-729718099yiv1036930313ads {
margin-bottom:10px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mkp .ygrps-yiv-729718099yiv1036930313ad {
padding:0 0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mkp .ygrps-yiv-729718099yiv1036930313ad p {
margin:0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mkp .ygrps-yiv-729718099yiv1036930313ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-sponsor #ygrps-yiv-729718099yiv1036930313ygrp-lc {
font-family:Arial;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-sponsor #ygrps-yiv-729718099yiv1036930313ygrp-lc #ygrps-yiv-729718099yiv1036930313hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-sponsor #ygrps-yiv-729718099yiv1036930313ygrp-lc .ygrps-yiv-729718099yiv1036930313ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313activity span {
font-weight:700;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313activity span span {
color:#ff7900;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313activity span .ygrps-yiv-729718099yiv1036930313underline {
text-decoration:underline;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313attach div a {
text-decoration:none;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313attach img {
border:none;padding-right:5px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313attach label a {
text-decoration:none;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313bold a {
text-decoration:none;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 dd.ygrps-yiv-729718099yiv1036930313last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 dd.ygrps-yiv-729718099yiv1036930313last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 dd.ygrps-yiv-729718099yiv1036930313last p span.ygrps-yiv-729718099yiv1036930313yshortcuts {
margin-right:0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313attach-table div div a {
text-decoration:none;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313attach-table {
width:400px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313file-title a, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313file-title a:active, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313file-title a:hover, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313file-title a:visited {
text-decoration:none;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313photo-title a, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313photo-title a:active, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313photo-title a:hover, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div.ygrps-yiv-729718099yiv1036930313photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 div#ygrps-yiv-729718099yiv1036930313ygrp-mlmsg #ygrps-yiv-729718099yiv1036930313ygrp-msg p a span.ygrps-yiv-729718099yiv1036930313yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313green {
color:#628c2a;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 o {
font-size:0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313photos div {
float:left;width:72px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313reco-category {
font-size:77%;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313reco-desc {
font-size:77%;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 .ygrps-yiv-729718099yiv1036930313replbq {
margin:4px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mlmsg select, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 input, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mlmsg pre, #ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 code {
font:115% monospace;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-mlmsg #ygrps-yiv-729718099yiv1036930313logo {
padding-bottom:10px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-msg p#ygrps-yiv-729718099yiv1036930313attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-reco #ygrps-yiv-729718099yiv1036930313reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-sponsor #ygrps-yiv-729718099yiv1036930313ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-sponsor #ygrps-yiv-729718099yiv1036930313ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-sponsor #ygrps-yiv-729718099yiv1036930313ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-text {
font-family:Georgia;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-text tt {
font-size:120%;}

#ygrps-yiv-729718099 #ygrps-yiv-729718099yiv1036930313 #ygrps-yiv-729718099yiv1036930313ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-729718099



Add that string as the last parameter sent to the email function. Currently its "" for your code.



Jose C Gomez
Software Engineer



T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Mon, Nov 4, 2013 at 12:37 PM, Marc Livingston <livingstonmh@...> wrote:

Â
<div>
  
  
  <p></p><div style="font-size:12pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;"><div><span>How would the code look to achieve this? </span></div><div><span>I do not know what the handle will accept:</span></div>
Â

define variable vFrom as character no-undo initial '':U.

               define
variable vTo as character no-undo initial '':U.

               define
variable vCC as character no-undo initial '':U.

               define
variable vSubject as character no-undo initial '':U.

               define
variable vBody as character no-undo initial '':U.

               define
variable hEmailEx as handle no-undo.

               run
Bpm/BpmEmail.p persistent set hEmailEx.

               define
variable from_cnt as integer no-undo.

               define
variable to_cnt as integer no-undo.

               define
variable cc_cnt as integer no-undo.

               define
variable subject_cnt as integer no-undo.

               define
variable body_cnt as integer no-undo.

               assign
vFrom = ''

               vTo =
'Email Address '

               vCC =
''

              Â
vSubject =

               vBody
=

               run
SendEmail in hEmailEx (

               false,

              Â
CUR-COMP,

               vFrom,

               vTo,

               vCC,

              Â
vSubject,

               vBody,

              Â
"":U

               ).

/* async as logical

company as character

emailFrom as character

emailTo as character

emailCC as character

emailSubject as character

emailText as character

emailMimeHeader as character */

Â

               if
valid-handle(hEmailEx) then do:

                  Â
delete procedure hEmailEx.

                  Â
leave.

                  Â
End.



On Monday, November 4, 2013 11:27 AM, Jose Gomez <jose@...> wrote:
Â
<div>
  
  
  <div dir="ltr"><div style="font-family:verdana, sans-serif;font-size:small;"><span style="color:rgb(51,51,51);font-family:Menlo, Monaco, Consolas,;font-size:12px;white-space:pre-wrap;background-color:rgb(248,248,255);">&quot;type=text/html:charset=us-</span><span style="color:rgb(51,51,51);font-family:Menlo, Monaco, Consolas,;font-size:12px;white-space:pre-wrap;background-color:rgb(248,248,255);">ascii:filetype=ascii&quot;</span><br clear="none">


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Mon, Nov 4, 2013 at 11:32 AM, <livingstonmh@...> wrote:

Â
<div>
  
  
  <div>Does anyone know how to change the MIME Content type from text/plain to text/html ?</div><div>Â </div><div>I have been using the code provided in an answer book, but I can&#39;t seem to get this working.<var></var></div>





</div>
 


<div style="color:rgb(255,255,255);"></div>

</div>
 


<div><div style="min-height:0px;color:rgb(255,255,255);"></div></div>


</div>
 


<div style="color:#fff;min-height:0;"></div>