<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://sessrumnir.net/fernseher/index.php?action=history&amp;feed=atom&amp;title=MailMessage</id>
	<title>MailMessage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sessrumnir.net/fernseher/index.php?action=history&amp;feed=atom&amp;title=MailMessage"/>
	<link rel="alternate" type="text/html" href="http://sessrumnir.net/fernseher/index.php?title=MailMessage&amp;action=history"/>
	<updated>2026-11-27T04:05:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://sessrumnir.net/fernseher/index.php?title=MailMessage&amp;diff=2110&amp;oldid=prev</id>
		<title>96.42.70.86: New page: This class represents a Mail Message for the Modjs environment, a straight up MIME message that, when receive processing is performed on it, gets converted from strict MIME RFC-204...</title>
		<link rel="alternate" type="text/html" href="http://sessrumnir.net/fernseher/index.php?title=MailMessage&amp;diff=2110&amp;oldid=prev"/>
		<updated>2009-01-23T06:37:04Z</updated>

		<summary type="html">&lt;p&gt;New page: This class represents a Mail Message for the &lt;a href=&quot;/fernseher/index.php?title=Modjs&quot; title=&quot;Modjs&quot;&gt;Modjs&lt;/a&gt; environment, a straight up &lt;a href=&quot;/fernseher/index.php?title=MIME&quot; title=&quot;MIME&quot;&gt;MIME&lt;/a&gt; message that, when receive processing is performed on it, gets converted from strict MIME RFC-204...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This class represents a Mail Message for the [[Modjs]] environment, a straight up [[MIME]] message that, when receive processing is performed on it, gets converted from strict MIME RFC-2045 compliant encodings and line foldings and whatnot, and when send processing is performed, gets converted to strict MIME RFC-2045 compliant encodings, line foldings, etc.  It is mostly a wrapper around [[MimeEntity]], with an additional property to help determine current encoding state, and several methods for encoding/decoding purposes.&lt;br /&gt;
&lt;br /&gt;
To create a new MailMessage:&lt;br /&gt;
 msg = new MailMessage([[MimeEntity]])&lt;br /&gt;
*Creates a mail message with the specified entity in it and converts to RFC-2045 compliant message string.&lt;br /&gt;
 msg = new MailMessage(textblob)&lt;br /&gt;
*Creates a mail message with the specified textblob in it.  This gets decoded and parsed into a [[MimeEntity]].&lt;br /&gt;
&lt;br /&gt;
Properties in MailMessages:&lt;br /&gt;
*entity: The [[MimeEntity]], decoded and everything, ready to be looked at and analyzed.&lt;br /&gt;
*mailable: The textblob, encoded and ready to be mailed out.&lt;br /&gt;
&lt;br /&gt;
Extra methods:&lt;br /&gt;
*msg.encode(): Encodes the entity to the mailable property.&lt;br /&gt;
*msg.decode(): Decodes the mailable text blob back into the entity&lt;br /&gt;
*status = msg.send([path and args string]): Calls msg.encode() and executes &amp;#039;/usr/bin/mail -t&amp;#039; (or the path argument and args) in a ProcessConnection() object, and then sends along the mailable textblob to it, followed by an EOF and then close() and returns the exit status.&lt;/div&gt;</summary>
		<author><name>96.42.70.86</name></author>
	</entry>
</feed>