@Leo,
I believe i have enough info no on how to write the correct content to a text file for a true el structure...
The original eml file you have in your original post was missing JavaScript variables, and in the end would not work after code fixes and changes I made, before I started the validation implementation.
I was having a hard time finding a good true example to put the data together, as i find the macro write for this to be a tad easier then the xml post, ill re edit the eml after i change things around and fix what i have on my end. at that point, i'm will to leave it alone, (Because now i know what i'm trying to write/put data content together :p )
thank you for the clarification and example file i have here:
https://www.online-convert.com/file-format/emlfile:
https://cdn.online-convert.com/example-file/document/eml/example.emlReturn-Path: <time2talk@online-convert.com>
X-Original-To: time2help@online-convert.com
Delivered-To: time2help@online-convert.com
Received: from vwp0096.webpack.hosteurope.de (vwp0096.webpack.hosteurope.de [87.230.60.103])
by tectrend.de (Postfix) with ESMTPS id AFFC171C0091
for <time2help@online-convert.com>; Wed, 17 Feb 2016 08:11:25 +0100 (CET)
Received: from p549a9204.dip0.t-ipconnect.de ([84.154.146.4] helo=[192.168.2.107]); authenticated
by vwp0096.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
id 1aVwGj-0002PO-95; Wed, 17 Feb 2016 08:11:25 +0100
From: Online-Convert.com <time2talk@online-convert.com>
Subject: =?UTF-8?Q?_EML Example File?=
References: <time2talk@online-convert.com>
To: Online-Convert.com <time2help@online-convert.com>
Message-ID: <56C41D18.3060102@online-convert.com>
Date: Wed, 17 Feb 2016 08:11:20 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <1SOLws-0BH0K00@online-convert.com>
Content-Type: multipart/alternative;
boundary="------------050008080707050500070109"
X-bounce-key: webpack.hosteurope.de;time2talk@online-convert.com;1455693085;1ff5b968;
This is a multi-part message in MIME format.
--------------050008080707050500070109
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
**
EML test file
Purpose: Provide example of this file type
Document file type: EML
Version: 1.0
Remark:
Example content:
The names "John Doe" for males, "Jane Doe" or "Jane Roe" for females, or "Jonnie Doe" and "Janie Doe" for children, or just "Doe" non-gender-specifically are used as placeholder names for a party whose true identity is unknown or must be withheld in a legal action, case, or discussion. The names are also used to refer to acorpse or hospital patient whose identity is unknown. This practice is widely used in the United States and Canada, but is rarely used in other English-speaking countries including the United Kingdom itself, from where the use of "John Doe" in a legal context originates. The names Joe Bloggs or John Smith are used in the UK instead, as well as in Australia and New Zealand.
John Doe is sometimes used to refer to a typical male in other contexts as well, in a similar manner to John Q. Public, known in Great Britain as Joe Public, John Smith or Joe Bloggs. For example, the first name listed on a form is often John Doe, along with a fictional address or other fictional information to provide an example of how to fill in the form. The name is also used frequently in popular culture, for example in the Frank Capra film Meet John Doe. John Doe was also the name of a 2002 American television series.
Similarly, a child or baby whose identity is unknown may be referred to as Baby Doe. A notorious murder case in Kansas City, Missouri, referred to the baby victim as Precious Doe. Other unidentified female murder victims are Cali Doe and Princess Doe. Additional persons may be called James Doe, Judy Doe, etc. However, to avoid possible confusion, if two anonymous or unknown parties are cited in a specific case or action, the surnames Doe and Roe may be used simultaneously; for example, "John Doe v. Jane Roe". If several anonymous parties are referenced, they may simply be labelled John Doe #1, John Doe #2, etc. (the U.S. Operation Delego cited 21 (numbered) "John Doe"s) or labelled with other variants of Doe / Roe / Poe / etc. Other early alternatives such as John Stiles and Richard Miles are now rarely used, and Mary Major has been used in some American federal cases.
File created by http://www.online-convert.com
More example files: http://www.online-convert.com/file-type
Text of Example content: Wikipedia (http://en.wikipedia.org/wiki/John_Doe)
License: Attribution-ShareAlike 3.0 Unported (http://creativecommons.org/licenses/by-sa/3.0/)
Feel free to use and share the file according to the license above.
--------------050008080707050500070109
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font style="font-family: arial,helvetica,sans-serif;" size="2"> </font><b><font
color="#660b23" face="Arial"> </font></b> <font
style="font-family: arial,helvetica,sans-serif;" size="2">
<div style="POSITION: relative">
<h2>EML test file</h2>
Purpose: Provide example of this file type<br>
Document file type: EML<br>
Version: 1.0<br>
Remark:<br><br>
Example content:<br>
The names "<b>John Doe</b>" for males, "<b>Jane Doe</b>" or "<b>Jane Roe</b>" for females, or "Jonnie Doe" and "Janie Doe" for children, or just "Doe" non-gender-specifically are used as placeholder names for a party whose true identity is unknown or must be withheld in a legal action, case, or discussion. The names are also used to refer to acorpse or hospital patient whose identity is unknown. This practice is widely used in the United States and Canada, but is rarely used in other English-speaking countries including the United Kingdom itself, from where the use of "John Doe" in a legal context originates. The names Joe Bloggs or John Smith are used in the UK instead, as well as in Australia and New Zealand.
<br><br>
John Doe is sometimes used to refer to a typical male in other contexts as well, in a similar manner to John Q. Public, known in Great Britain as Joe Public, John Smith or Joe Bloggs. For example, the first name listed on a form is often John Doe, along with a fictional address or other fictional information to provide an example of how to fill in the form. The name is also used frequently in popular culture, for example in the Frank Capra film Meet John Doe. John Doe was also the name of a 2002 American television series.
<br><br>
Similarly, a child or baby whose identity is unknown may be referred to as Baby Doe. A notorious murder case in Kansas City, Missouri, referred to the baby victim as Precious Doe. Other unidentified female murder victims are Cali Doe and Princess Doe. Additional persons may be called James Doe, Judy Doe, etc. However, to avoid possible confusion, if two anonymous or unknown parties are cited in a specific case or action, the surnames Doe and Roe may be used simultaneously; for example, "John Doe v. Jane Roe". If several anonymous parties are referenced, they may simply be labelled John Doe #1, John Doe #2, etc. (the U.S. Operation Delego cited 21 (numbered) "John Doe"s) or labelled with other variants of Doe / Roe / Poe / etc. Other early alternatives such as John Stiles and Richard Miles are now rarely used, and Mary Major has been used in some American federal cases.
<br><br>
File created by <a href="http://www.online-convert.com" target="_blank">http://www.online-convert.com</a><br>
More example files: <a href="http://www.online-convert.com/file-type" target="_blank">http://www.online-convert.com/file-type</a><br>
Text of Example content: <a href="http://en.wikipedia.org/wiki/John_Doe" target="_blank">Wikipedia</a><br>
License: <a href="http://creativecommons.org/licenses/by-sa/3.0/" target="_blank">Attribution-ShareAlike 3.0 Unported</a><br><br>
Feel free to use and share the file according to the license above.<br>
<br>
</font><br>
<br>
</div>
</font>
</body>
</html>
--------------050008080707050500070109--
it looks like we will be construing a eml html webpage of sorts to fill in true header and message content. Now that i also have the uscert rf288 mimetype, i can look deeper into the bare min for the eml file and write constrution.
atm i will leave the code alone as i'm also on a curtent time crunch.