thank u for ur reply
when i write as below
SmtpClient c = new SmtpClient("vcd 06005.vija.com" ,25);
c.Send(new MailMessage("ad min@vcd06005.vi ja.com", "admin@vcd06005 .vija.com", "sub", "body"));
i am getting that msgs are staying in c:\inetpub\mail root\drop without any errors
here
vcd06005 is my computer name
vija.com is my domain in local area...
User Profile
Collapse
-
Mail problem
SmtpClient c = new SmtpClient("loc alhost",25);
c.Send(new MailMessage("ad min@localhost", "admin@localhos t", "sub", "body"));
I wrote above code asp.net 2.0 to send mail to local system
O/S : Win XP
Browser: IE6
but iam getting this error, can any body help me
Mailbox unavailable. The server response was: 5.7.1 Unable to relay for admin@localhost... -
Thank U v'Much
i got exact what i want
((?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{6,12})$
atleast one digit
atleast one letter with underscore
length 6 to 12 charLeave a comment:
-
-
ValidationExpression for RegularExpression
Hi, this is CNU ,can any body let me know what is the validationexpre ssion for following criteria
my text should contain At least one digit,6 to 12 chars and underscore
i gave like
(\w*[\d]+\w*)
but it is not checking range 6-12 chars
help me out
than'q
cnu
No activity results to display
Show More
Leave a comment: