<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Problem with one letter email addresses</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Problem with one letter email addresses</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 02:25:37 +0000</pubDate>

<item>
<title>emmi on "[closed] Problem with one letter email addresses"</title>
<link>https://www.machform.com/forums/topic/problem-with-one-letter-email-addresses#post-421</link>
<pubDate>Sat, 08 Dec 2007 07:29:32 +0000</pubDate>
<dc:creator>emmi</dc:creator>
<guid isPermaLink="false">421@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks. :)
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Problem with one letter email addresses"</title>
<link>https://www.machform.com/forums/topic/problem-with-one-letter-email-addresses#post-418</link>
<pubDate>Thu, 06 Dec 2007 21:35:05 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">418@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmm.. you are right. MachForm indeed doesn't allow 1 character domain for the email.&#60;/p&#62;
&#60;p&#62;To overcome this, edit your &#60;strong&#62;includes/common-validator.php&#60;/strong&#62; file.&#60;br /&#62;
On line 205, you will find this code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$regex  = &#38;#39;/^[A-z0-9][\w.-]*@[A-z0-9][\w\-\.]+\.[A-z0-9]{2,6}$/&#38;#39;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Replace that line with this one:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$regex  = &#38;#39;/^[A-z0-9][\w.-]*@[A-z0-9\w\-\.]+\.[A-z]{2,6}$/&#38;#39;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
That should allow 1 character domain for email.
&#60;/p&#62;</description>
</item>
<item>
<title>emmi on "[closed] Problem with one letter email addresses"</title>
<link>https://www.machform.com/forums/topic/problem-with-one-letter-email-addresses#post-417</link>
<pubDate>Thu, 06 Dec 2007 16:58:43 +0000</pubDate>
<dc:creator>emmi</dc:creator>
<guid isPermaLink="false">417@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;No, &#60;a href=&#34;mailto:user@k.com&#34;&#62;user@k.com&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Problem with one letter email addresses"</title>
<link>https://www.machform.com/forums/topic/problem-with-one-letter-email-addresses#post-416</link>
<pubDate>Thu, 06 Dec 2007 16:36:20 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">416@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;hi emmi,&#60;/p&#62;
&#60;p&#62;what do you mean by one letter email address?&#60;/p&#62;
&#60;p&#62;like: &#60;a href=&#34;mailto:a@example.com&#34;&#62;a@example.com&#60;/a&#62; ?
&#60;/p&#62;</description>
</item>
<item>
<title>emmi on "[closed] Problem with one letter email addresses"</title>
<link>https://www.machform.com/forums/topic/problem-with-one-letter-email-addresses#post-415</link>
<pubDate>Thu, 06 Dec 2007 16:30:30 +0000</pubDate>
<dc:creator>emmi</dc:creator>
<guid isPermaLink="false">415@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;When a user tried to signup on my form using his one letter email address he gets a error.&#60;/p&#62;
&#60;p&#62;There was a problem with your submission.&#60;br /&#62;
Errors have been highlighted below.&#60;/p&#62;
&#60;p&#62;This field is not in the correct email format.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
