RE: Pure HTML Formatting in Mailto code

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



No. You'd need client side script that automates the Outlook Object Model to
specify HTML formatting.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"franciscusf@xxxxxxxxx" wrote:

Has anyone know how to code in javascript for mailto code with the HTML
formatting to clients (not in ASP/PHP/.NET coding, normal HTML coding
only)?

I'm trying to send a tell-a-friend form with referee emails attached to
the bcc field. However, I need to know how to send a HTML email through
this email....

I've open the Outlook correctly however, it seems that the Outlook that
I open with the code display in rich text formatting instead of HTML
formatting though I'm not specifying anything for the formatting in the
code.

Here is the snippet of the code:

--------------------------------------------------------------------------------------------------------------------------------------
var to = "";
var subject = "Testing email, please do not reply";
var body =
"Testing email only......";
var bcc1 = document.formname.fieldname1.value;
var bcc2 = document.formname.fieldname2.value;
var bcc3 = document.formname.fieldname3.value;
var bcc4 = document.formname.fieldname4.value;
var bcc5 = document.formname.fieldname5.value;
if (!bcc1.length=='')
{
if (!bcc2.length=='')
{
if (!bcc3.length=='')
{
if (!bcc4.length=='')
{
if (!bcc5.length=='')
{
var bcc = bcc1 + ", " + bcc2 +
", " + bcc3 + ", " + bcc4 + ", "
+ bcc5;
}
else
{
var bcc = bcc1 + ", " + bcc2 +
", " + bcc3 + ", " + bcc4;
}
}
else
{
var bcc = bcc1 + ", " + bcc2 + ", " +
bcc3;
}
}
else
{
var bcc = bcc1 + ", " + bcc2;
}
}
else
{
var bcc = bcc1;
}
var doc = "mailto:"; + to +
"?bcc=" + bcc +
"&subject=" + escape(subject) +
"&body=" + escape(body);
}

window.location = doc;
}

}

--------------------------------------------------------------------------------------------------------------------------------------

Thanks a lot for the help and any help would be appreciated

-cuzzie-


.



Relevant Pages

  • Re: I am trying to send an html email from Publisher but it wont
    ... File> Convert to a Web Publication. ... use Outlook 2003. ... I have been successful using OE6 to send html ... section on "Formatting in email messages" in the following reference). ...
    (microsoft.public.publisher)
  • Pure HTML Formatting in Javascript Code
    ... Has anyone know how to code in javascript for mailto code with the HTML ... formatting to clients (not in ASP/PHP/.NET coding, normal HTML coding ... I open with the code display in rich text formatting instead of HTML ... var bcc1 = document.formname.fieldname1.value; ...
    (microsoft.public.outlook)
  • Pure HTML Formatting in Mailto code
    ... Has anyone know how to code in javascript for mailto code with the HTML ... formatting to clients (not in ASP/PHP/.NET coding, normal HTML coding ... I open with the code display in rich text formatting instead of HTML ... var bcc1 = document.formname.fieldname1.value; ...
    (microsoft.public.outlook.program_vba)
  • How do I send an HTML newsletter?
    ... add it to an Outlook email as an attachment. ... When I save it (which html do I pick anyway--regular or ... you get the idea...the formatting and margins fall apart). ... once I do get a good Word doc and go to Outlook... ...
    (microsoft.public.outlook)
  • Re: I am trying to send an html email from Publisher but it wont
    ... Outlook 2003. ... I have been successful using OE6 to send html formatted messages ... "Formatting in email messages" in the following reference). ... Office programs, click Automatically repair Office programs in the See Also ...
    (microsoft.public.publisher)