<?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/3270" />

	<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>2002-12-23T12:22:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-23T12:22:35-04:00</updated>

		<published>2002-12-23T12:22:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14524#p14524</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14524#p14524"/>
		<title type="html"><![CDATA[wingate2.tcl - email]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14524#p14524"><![CDATA[
Sending as a attachment is a whole new ballgame.<br><br>You will have to encode the text being sent, to a type that is used to send attachments, then you will need to format the e-mail body, to accept sending an attachment.<br><br>This is all boyond my abilities.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Dec 23, 2002 12:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2002-12-22T00:50:30-04:00</updated>

		<published>2002-12-22T00:50:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14489#p14489</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14489#p14489"/>
		<title type="html"><![CDATA[wingate2.tcl - email]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14489#p14489"><![CDATA[
ok it worked when i chnage "sendmail" to "mail"..cos sendmail is not install on my shell..<br>but it not sending file as an attachement, just simple email, how do i send a file as an attachement?<br><br>thanks again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Sun Dec 22, 2002 12:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2002-12-20T17:58:28-04:00</updated>

		<published>2002-12-20T17:58:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14465#p14465</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14465#p14465"/>
		<title type="html"><![CDATA[wingate2.tcl - email]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14465#p14465"><![CDATA[
Thanks, ppslim<br><br>i am still not getting an email, email address is there, its logging to the file...ok<br>also i have done few tests n i can see in a bot dir, its swaping files fine, but not sending an email....<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Fri Dec 20, 2002 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-20T09:56:04-04:00</updated>

		<published>2002-12-20T09:56:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14457#p14457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14457#p14457"/>
		<title type="html"><![CDATA[wingate2.tcl - email]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14457#p14457"><![CDATA[
esentuialy, yes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Dec 20, 2002 9:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2002-12-19T22:55:24-04:00</updated>

		<published>2002-12-19T22:55:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14438#p14438</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14438#p14438"/>
		<title type="html"><![CDATA[wingate2.tcl - email]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14438#p14438"><![CDATA[
Thanks, ppslim<br>yeap, email address is there, and its logging to the file in the wingate(mail-log) as well, how do i fix this, so it can send a file 3:00am daily?? plz<br>should i remove this line<br>if {[expr $c/7] != [expr $c/7.]} {return 0} <br>and bind time - "03 22 * * *" wingate_mail  to<br>bind time - "* 03 * * *" wingate_mail <br><br><br><br>thanks<br>merry xmass<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Thu Dec 19, 2002 10:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-19T05:28:13-04:00</updated>

		<published>2002-12-19T05:28:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14421#p14421</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14421#p14421"/>
		<title type="html"><![CDATA[wingate2.tcl - email]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14421#p14421"><![CDATA[
On first inspection.<br><br>Make sure you add a e-mail address to the config variable.<br><br>Next, make sure the script is logging to the file in the wingate(mail-log) setting.<br><br>You should then note, that this script will only send out this file, at 22:03 (10.03pm), every 1/7th of a month (ie, 7th, 14th, 21st, 28th).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Dec 19, 2002 5:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2002-12-18T23:16:05-04:00</updated>

		<published>2002-12-18T23:16:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14410#p14410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14410#p14410"/>
		<title type="html"><![CDATA[wingate2.tcl - email]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14410#p14410"><![CDATA[
hi,<br>these codes are from wingate2.tcl by bass, which emails the loged host to the specify email address, but somehow these are not working, i'll appreciate for your help.<br><br>set wingate(mail-log) wingates.log<br>set wingate(mail-to) "" ;# add your email addy here<br><br>bind time - "03 22 * * *" wingate_mail<br>proc wingate_mail {a b c d e} {<br> global wingate<br> if {![file exists $wingate(mail-log)]} {return 0}<br> if {[expr $c/7] != [expr $c/7.]} {return 0}<br> if {$wingate(mail-to) != ""} {<br>  foreach i [split $wingate(mail-to) ,] {<br>   catch {exec cat $wingate(mail-log) | sendmail $i}<br>  }<br>  catch {exec rm -f $wingate(mail-log).old}<br>  catch {exec cp $wingate(mail-log) $wingate(mail-log).old}<br>  catch {exec rm -f $wingate(mail-log)}<br> }<br>}<br><br>thanks<br>regards<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Wed Dec 18, 2002 11:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
