|
|
Make sure all email addresses specified at MailMessage.To, MailMessage.Cc, MailMessage.Bcc and MailMessage.From are valid email addresses.
Make sure you have permissions to relay through the server.
Make sure the MailMessage.From has permissions to relay through the server.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
mr Bharadwaj,
actually i am new for using the smtp servers,
can you please explain in detail about the giving permissions and all
if you dont mind
?
|
|
|
|
|
Hey hi bhiravan,
I hope the line SmtpMail.SmtpServer = "localhost" line creates the main problem.
As ur specifying the server name as local host it doesnot allow all the other domain email addresses except your domain.So you need change the server name as "127.1.1.0" which is a global server address and even you need to change the smtp virtual server settings in IIS.
Goto start->run->inetmgr where u will get ur IIS settings.right click on the Default smtp server and goto properties,go to Access tab,click on connection tab,then click on Add tab.There you need to enter ip address as 127.1.1.0 then click on ok.
Then try it out.I hope now it works.
If not let me know.Good luck.
|
|
|
|
|
what is the process to implement the connection string in web.config file
using asp.net with vb.net sql server-2000 as backend
|
|
|
|
|
this [^]is it...
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
I have a usercontol that has a property.
I have another usercontrol that is inside the first one.
How can I access the propetry of first UC in second UC
Best wishes
|
|
|
|
|
delegates.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I'm trying to run an aspx application. But I get the error "Access to the path c:\\....\\sth.xml is denied." I have granted the asp group full control permission. where is the problem?
|
|
|
|
|
You only have access to the file system inside your application root, not through the whole system.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
thank you so much. Your answer solved the problem.
|
|
|
|
|
Hi,
I need code for authorize .net payment gateway using SIM method in c#.
Please help me
|
|
|
|
|
vnr wrote: I need code for
Then go ask the vendor. Don't ask for people to give you code around here unless you've tried something first and are asking for help.
only two letters away from being an asset
|
|
|
|
|
I wrote an article on how to use authorize, because, while it's so trivial that if you can't work it out from the docs, you shouldn't be coding, it is a PITA to write, so I made my code available. If you can't read the docs, or use google, or search this site, you should NOT be writing code that needs to be secure with people's credit card numbers.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I'm assuming there has to be some property that needs to be set in order to display lets say to panels or divs right next to each other as oppose to vertically down.
I'm using a style sheet but I can also do it in the page itself. If someone knows can you please tell me how to set this up in both of these cases! I'd appreciate it
Tina
|
|
|
|
|
Use the float CSS property, i.e. float:left and float:right
only two letters away from being an asset
|
|
|
|
|
Hello Mark,
I tried floats but it didn't quite work...what would I do inline. Also how do I move the entire panel away frmo the left margin of the page. I'm assuming the margin property should work, but apparently its not. Can you please perhaps give an example? I'd really appreciate it!
Tina
|
|
|
|
|
You'll find plenty of examples here[^]
float[^]
margin[^]
only two letters away from being an asset
|
|
|
|
|
Alternatively you could put the panels inside a table. (Don't shoot me, I know about the drawbacks of using tables, but sometimes it's just easier IMHO)
Frauke Nonnenmacher
Creative Cats
|
|
|
|
|
i have many update panels on page and if i set view state of one update panel= false then would it set all view states = false of all controls in it??? automatically or i will have to set them all manually??
umerumerumer
|
|
|
|
|
Setting the viewstate on one control does not affect another. However, if you set it at the page level it will affect all controls on teh page.
only two letters away from being an asset
|
|
|
|
|
Hi There,
I have HTML Button.On Click of that button I want to save values from page into database.If anybody knows please help.
Thanks.
|
|
|
|
|
you can call __doPostBack function,
it works like an asp.net button.
Glad to discuss with you and best wishes.
|
|
|
|
|
Traditionally, you would wrap the button inside a form, and the button would actually be of type submit.
Then, the form values get POSTed to your server from which you can parse via the Request.Form object, and from there, simply insert into DB.
|
|
|
|
|