<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/8250" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-09-06T16:14:24-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/8250</id>

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-09-06T16:14:24-04:00</updated>

		<published>2004-09-06T16:14:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40647#p40647</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40647#p40647"/>
		<title type="html"><![CDATA[Re: Sending a mail with attachement....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40647#p40647"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>exec mail -s $subject $to_address &lt; $attachement</code></pre></div>It works but the contect of $attachement would be the boddy of the mail. How can i added it as an attachement?</div></blockquote>1) pick some encoding (<a href="http://tcllib.sourceforge.net/doc/mime.html" class="postlink">MIME</a>/<a href="http://tcllib.sourceforge.net/doc/uuencode.html" class="postlink">UUEncode</a>)<br>2) encode the attachment<br>3) add the appropriate header(s) and the encoded string to the body of the mail.<br>4) done.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Sep 06, 2004 4:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Freez]]></name></author>
		<updated>2004-09-06T12:15:04-04:00</updated>

		<published>2004-09-06T12:15:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40641#p40641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40641#p40641"/>
		<title type="html"><![CDATA[Sending a mail with attachement....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40641#p40641"><![CDATA[
Hi!<br><br>I have write an tcl script that create an html file. Now a would like to mail that file. This is my code<br><div class="codebox"><p>Code: </p><pre><code>exec mail -s $subject $to_address &lt; $attachement</code></pre></div>It works but the contect of $attachement would be the boddy of the mail. How can i added it as an attachement?<br><br>Than you!<br><br>Sorry for me bad english <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5363">Freez</a> — Mon Sep 06, 2004 12:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
