|
How to validate pin code of india and fax through regular expression validator.
|
|
|
|
|
for pin code,You can use like this
<asp:TextBox ID="txtPincode" runat="Server" Columns="40" />
<asp:RegularExpressionValidator ID="revPincode" runat="server" ControlToValidate="txtPincode" ErrorMessage="enter correct pincode" validationexpression="^.+\@.+\..+$" Display="static" SetFocusOnError="true"></asp:RegularExpressionValidator>
Check the links for more
[^]"> [^]">
You will get a lot from any begginers book on regular expressions too.
Cheers!!
Brij
|
|
|
|
|
Hi,
Can anyone give me anidea of how to receive mail from smtp using asp.net2.0
Regards,
sbua
|
|
|
|
|
sbua wrote:
Can anyone give me anidea of how to receive mail from smtp using asp.net2.0
Did you search it in google before post it. Google Says[^]
cheers,
Abhijit
|
|
|
|
|
Hi Abhijit,
I think he is asking about recieving mail.You'll get a lot for sending a mail.What about recieving the mails?
Cheers!!
Brij
|
|
|
|
|
Brij wrote: I think he is asking about recieving mail
Yes.
Brij wrote: You'll get a lot for sending a mail.
That's also true.
Brij wrote: What about recieving the mails?
This question does not have any base. I have already explain to him.
cheers,
Abhijit
|
|
|
|
|
Hi,
yes but most of the result shows only for sending mail from smtp. I want to track receiving mail from smtp.
Thanks
|
|
|
|
|
sbua wrote: yes but most of the result shows only for sending mail from smtp.
Yaa..That's True
sbua wrote: I want to track receiving mail from smtp.
What does it mean by receiving mail ? SMTP (Simple Mail Transfer Protocol) is just a protocol which just used to send and receive between mail server. It does not have any relation with receiving mail. If you want to retrieve mail from server like GMAIL , then you need there Web API to access there mail.
Hope its clears your doubts !!!
cheers,
Abhijit
|
|
|
|
|
Hi,
I want to implement mail concepts in the newly developing site. For eg if the users send mails to this mail id emailsender@newsite.com then i have to read those mails from newsite.com
Thanks
|
|
|
|
|
sbua wrote: Hi,
I want to implement mail concepts in the newly developing site. For eg if the users send mails to this mail id emailsender@newsite.com then i have to read those mails from newsite.com
Ya that I have alredy understood from your last response. If you want to implement mail concept with your newsite.com, First of all you need a MailServer. You can developed your own mail server or you can use mail server like Microsoft Exchange Server. Then after you can start your development of mail Client Application. newsite.com is your domin name. So for maintaining user and authentication of user you may need to use Active Directory also. If you want to implement using Exchange server, then you need learn about EWS (Exchange web service programming ) for send and retrieve email.
Hope this give you a idea that what you needs !!!!
cheers,
Abhijit
|
|
|
|
|
Hi,
I am using smtpout.secureserver.net to send mail to the users. How can i read the received mail from the application.
Thanks
|
|
|
|
|
sbua wrote: I am using smtpout.secureserver.net
Sorry, I don't have any idea on that.
cheers,
Abhijit
|
|
|
|
|
You need to write or use a mail server on the back end to receive mail, and then store that received mail into a database. Then you are just writing a normal data driven application to show the mail. Recieving mail actually has nothing to do with ASP.NET, not a single thing.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
Christian Graus wrote: You need to write or use a mail server on the back end to receive mail
I have no idea about mail server. Give me an useful link to learn about mail server briefly.
Thanks
|
|
|
|
|
Hi,
I want to change my screen color at runtime,help me..
|
|
|
|
|
jaraldumary wrote: I want to change my screen color at runtime,
which screen color ? are you talking about theme change ? if yes the try to learn about css and skin in asp.net. There are lots of link will be available on that in google .
cheers,
Abhijit
|
|
|
|
|
yes theme color,how to change the color of the form in runtime, or else send some links to learn..
|
|
|
|
|
your basic issue is that you need to understand ASP.NET. It's an engine for HTML, HTML is what the browser shows. So, you need to learn how to set the color of a page of HTML. The web abounds with such info.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
jaraldumary wrote: ,how to change the color of the form in runtime
Yaa..if this is single page application, that can be done easily, but for applying to all over the sites you need to learn about HTTPHandler.
Search google. Lots of example are there .
cheers,
Abhijit
|
|
|
|
|
do you want ot change it on any event?
Cheers!!
Brij
|
|
|
|
|
when the page is loading, the color of the form should be changed..
|
|
|
|
|
for changing the color at runtime
If your body tag defined as runat="server" then you can change the style of that screen by accessing the id of body tag at server side code.if you want change it on any event then code like this
body1.Style.Add("background-color","color id");
you can also change it on Page_Load event
Cheers!!
Brij
|
|
|
|
|
|
Cheers!!
Brij
|
|
|
|
|
how to implement logarithmic functions in asp.net
|
|
|
|