|
If you dont understand then it dosent matter, but its funny!
Lloyd J. Atkinson
"Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein
I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".
|
|
|
|
|
I was wanting to know how to basically send a request to an exchange/mail server and recieve something telling me if the email exist or not. How would I go about doing this? I see it being done but can not find any good examples so I can learn how to do it.
|
|
|
|
|
It's not being done. It's not possible. All you could do is send a test email and then check if you get a bounce message back. Which is not foolproof.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Well that sucks. I have trying to make this fool proof and say that email does not exist. Now whenevery I use my application and I send an email using the To. It works. When I add the CC emails it says that the mail server doest not accept emails. Well thats not true because it just accepted emails. It only does that when I use CC within the email. It is our work email and I am one of the sys admins up there and I can't figure out why it is saying that the mail server doesn't accept emails.
|
|
|
|
|
Take a look at RFC 2821 - section 3.5.1[^]
It explains how to verify an email address.
Basically you send a VRFY request and look for a 250 return code.
|
|
|
|
|
hello
i finded this link about this subject
http://www.dotnetjunkies.com/PrintContent.aspx?type=tutorial&id=46630AE2-1C79-4D5F-827E-6C2857FF1D23
but its language is not C#.
i searched this subject into C#, but i did not find C# code about it.
pleses help me.
thanks
|
|
|
|
|
aref87 wrote: but its language is not C#.
i searched this subject into C#, but i did not find C# code about it.
Do you expect someone to sit and write the C# version for you?
Anyway, there are many online code translators. This[^] is one of those.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hello
thank you
i want anyone,if it possible,to write this c# code
|
|
|
|
|
here is one convertor from vb.net to C#[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
Hello
I converted vb.net to C#,I thank you about your help.
also,i tried about programming.
this result is:
I produced two classes
1-class1
2-myextension
in main web service project according to the following link:
http://www.dotnetjunkies.com/PrintContent.aspx?type=tutorial&id=46630AE2-1C79-4D5F-827E-6C2857FF1D23
and put following code in webservice.cs,but after debuging ,i did not see anything,but in
Form1 in "Improve XML Web Services' Performance by Compressing SOAP's Figure 2 " there is
a pictuer with a datagrid that shows orders table from Nortwind.
also i used from #ZipLib .
what is [webmethod] in this project?
using System;
using System.Web;
using System.Web.Services;
using System.Data;
using System.Data.SqlClient;
using System.Web.Services.Protocols;
using System.Configuration;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
using ClientSoapExtension;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Diagnostics.DebuggerStepThroughAttribute(), System.ComponentModel.DesignerCategoryAttribute("code"), System.Web.Services.WebServiceBindingAttribute(Name = "Service1Soap", Namespace = "http://tempuri.org/")]
public class Service : System.Web.Services.Protocols.SoapHttpClientProtocol
{
public Service ():base() {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getproducts", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped), ClientSoapExtension.myextensionattribute()]
public System.Data.DataSet getproducts()
{
object[] results = this.Invoke("getproducts", new object[-1 + 1]);
return (System.Data.DataSet)results[0];
}
public System.IAsyncResult Begingetproducts(System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("getproducts", new object[-1 + 1], callback, asyncState);
}
public System.Data.DataSet Endgetproducts(System.IAsyncResult asyncResult)
{
object[] results = this.EndInvoke(asyncResult);
return (System.Data.DataSet)results[0];
}
}
|
|
|
|
|
Can anybody recommend me a good spam filter for ASP.NET? Is there something that I can send a string and would return me a percentage (the possibility of its being spam)? Do I need to have my dedicated server (or VPS) to run a spam filter? In other words is there something that works with shared hosting?
Thank you for your suggestions ..
|
|
|
|
|
I doubt such a thing exists. Spam filtering and ASP.NET have nothing to do with each other. In any case, it's a war of attrition, you need to find a well supported project, or a commerical library that is constantly updated,.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
But what about all those blogs and sites in ASP.NET? How do they handle spam?
|
|
|
|
|
Well, it's not an ASP.NET task, in that it's a general C# string parsing task. I guess they write something, or they have found a library for free or commercially. I am just saying, if it's free, be sure it gets updated often because those things would go out of date so fast....
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I'm sorry, may be I didn't explain this right, actually I meant a spam filter that can be used with ASP.NET, this is what I meant. I think there must be something like that, I don't think every one who has a blog or site in ASP.NET has written their own spam filters. Besides some or probably the majority of those are not developers, so I don't think they wrote their own filters. Most probably they are using something like akismet which unfortunately not good for my scenario, there's also SpamAssassin but that doesn't work with ASP.NET (not completely sure but I have checked their website and there was nothing indicating it works with ASP.NET).
|
|
|
|
|
I guess you want something like CAPTCHA. In asp.net blogs and other things it is used for filtering SPAM so that we can block robots from spam.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Hi Ahsan, actually I already have a captcha in my app but I only use it on the registration page, I don't want to display a captcha every time a user adds a post, this is not really convenient.
|
|
|
|
|
anyone has a good Ajax code to upload image from local drive to server with progress bar showing the status?
|
|
|
|
|
There's a number of commercial controls that do this.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
My task is, suppose text box of first name creted in Asp.net I type 'a' a related all the first names from the database is to be retrive and show as helper e.g on google site 'a' is typing a related words are generated.
I write the code for sending request through Ajax get values from database in datatable or dataset but it is not returning that datatable to the javascript from that I am calling that ajax. Next I have to show that value in that down box using javascript and it should be display in Asp page so only my that text box is to be refresh not whole page.
|
|
|
|
|
|
|
onrivman wrote: what is bubble event
Google broken ?
|
|
|
|
|
onrivman wrote: what is bubble event
What is google ?
Seriously, if you take some time to google for this, I am sure tons of articles are there around.
|
|
|
|
|
Why don't you google it?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|