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

	<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>2003-04-07T12:26:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-04-07T12:26:02-04:00</updated>

		<published>2003-04-07T12:26:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18679#p18679</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18679#p18679"/>
		<title type="html"><![CDATA[Correct EMail Syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18679#p18679"><![CDATA[
Big thanks ppslim, works perfekt<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Mon Apr 07, 2003 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-07T11:48:48-04:00</updated>

		<published>2003-04-07T11:48:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18678#p18678</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18678#p18678"/>
		<title type="html"><![CDATA[Correct EMail Syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18678#p18678"><![CDATA[
This should check the correct syntax<br><div class="codebox"><p>Code: </p><pre><code>proc chkemail {in} {  return [regexp {^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$} $in]}</code></pre></div>This will only validate the address to contain the correct chars.<br><br>You can go further, and test the address on the spot, to determine if the address has valid NS information and if a mail server is willing to accept mail for this address. This will stop a lot of bounces and spam from the off.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Apr 07, 2003 11:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-04-07T09:50:29-04:00</updated>

		<published>2003-04-07T09:50:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18673#p18673</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18673#p18673"/>
		<title type="html"><![CDATA[Correct EMail Syntax]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18673#p18673"><![CDATA[
I'm currently writing a little script that provides EMail Password recovery etc.<br>But still i haven't found a way to check if it's really a correct email. I have searched the forum and found some solutions (like [regexp {.+@.+\..+} $arg] from WCC, which i had nearly the same [matchattr $arg *?@?*.?*]).<br><br>But still the user can enter invalid email addresses (like my`nick@c§wlhost.d()main).<br><br>Does somebody have a proc that checks if ONLY abcde...ABCDE...123, . and @ are used in a string ? would help me a lot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Mon Apr 07, 2003 9:50 am</p><hr />
]]></content>
	</entry>
	</feed>
