Using EmailSpoofer.NET

EmailSpoofer.NET can be used from any ASP.NET environment. Actually, it can be used from any .NET environment. Even winforms, if you wanted too. VS.NET
Using EmailSpoofer.NET from VS.NET is really easy. It supports Drag n’ Drop, along with the properties sheet.

To add EmailSpoofer.NET, simply drag the EmailSpoofer.NET dll onto your Toolbox. Once its there, you can simply drag it onto any webform. Here is a screen of this.



EmailSpoofer.NET can also be manipulated in the .aspx page itself, using its declarative syntax. Here is an example of using it in the .aspx page.

<EmailSpoofer:EmailEncoder id=EmailEncoder1 Email="me@mycompany.com" runat="server"></EmailSpoofer:EmailEncoder>

When rendered, this will be sent to the client browser as:

<a href="&#109&#97&#105&#108&#116&#111&#58
&#109&#101&#64&#109&#121&#99&#111&#109
&#112&#97&#110&#121&#46&#99&#111&#109"
>&#109&#101&#64&#109&#121&#99&#111&#109
&#112&#97&#110&#121&#46&#99&#111&#109</a>


If you set the EncodingType to be Javascript, like:

<p><EmailSpoofer:EmailEncoder id=EmailEncoder1 Email="me@mycompany.com" EncodingType="Javascript1" runat="server"></EmailSpoofer:EmailEncoder></p>

Then the following output will be generated
<script>s='%3C%73%63%72%69%70%74%3E%76%61%72%20%74%2C%73
%3D%27%27%3B%74%3D%22%36%34%36%46%36%33%37%35%36%44%36%35%36
%45%37%34%32%45%37%37%37%32%36%39%37%34%36%35%32%38%32%32%33
%43%36%31%32%30%32%30%36%38%37%32%36%35%36%36%33%44%35%43%32
%32%36%44%36%31%36%39%36%43%37%34%36%46%33%41%36%44%36%35%34
%30%36%44%37%39%36%33%36%46%36%44%37%30%36%31%36%45%37%39%32
%45%36%33%36%46%36%44%35%43%32%32%32%30%32%30%33%45%36%44%36
%35%34%30%36%44%37%39%36%33%36%46%36%44%37%30%36%31%36%45%37
%39%32%45%36%33%36%46%36%44%33%43%32%46%36%31%33%45%32%32%32
%39%33%42%22%3B%66%6F%72%28%69%3D%30%3B%69%3C%74%2E%6C%65%6E
%67%74%68%3B%69%2B%3D%32%29%7B%73%20%2B%3D%20%75%6E%65%73%63
%61%70%65%28%27%25%27%2B%74%2E%73%75%62%73%74%72%28%69%2C%32
%29%29%7D%3B%65%76%61%6C%28%73%29%3B%3C%2F%73%63%72%69%70%74
%3E';document.write(unescape(s));</script>


Adding it to the Web Application
Once you’ve used EmailSpoofer.NET on your .aspx page pages, you have to add it to your web application.

Simply upload the EmailSpoofer.dll to your /bin directory.

That’s it! That’s all there is to using EmailSpoofer.NET

Now your email address can be safely protected from SpamBots.