|
hi all
I am getting following error.
The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for mymail@yahoo.com.
how to fix it.
thanks in advance,
regards
srinandan
|
|
|
|
|
You should the server on your host. Most email servers won't accept emails that come from outside their domains because of spammers, etc.
Either use the server where your site is hosted or check whether Yahoo allows you to send mail if you authenticate first.
|
|
|
|
|
thanks
but the problem is not only with yahoo.com it is with any website.
|
|
|
|
|
what email server are you using? i.e. what are you putting in as your smtp server to send emails from?
|
|
|
|
|
hai all...i am having a problem with ADS.I am developing a web application which logs in using ADS.I am not using the authentication anywhere else.
I need to show pictures present in a network folder in some other machine...but due to the security permissions in the network,i am not getting it displayed. help me....
Rameez Mohammed
India
|
|
|
|
|
Not the cleanest way to fix it but quick. Goto Folder within the Network, right-click and select properties, then the security tab and add Everyone to the folder with read-only writes. Without understanding the entire network this would be a quick fix.
|
|
|
|
|
Hi!
I am looking for a schedule control where I can allocate multiple tasks in one time slot.
So for example: the datagrid will have two columns:
1. Date and Time like 19/07/2006 13:00-13:30
2. Task 1(call Mr A) , Task2 (Call Mr B), Task 3(Call Mr C) and so on this should be dynamic and the time stored in database should be anytime between 13:00 - 13:30 which I will pick up from System.DatTime.Now
I have a schedule control, but it allows only 1 task per slot but I want multiple tasks per slot.I got this from this site : http://www.rekenwonder.com/aspnet/schedule.html
Can anybody help?
Thank you.
happy coding!
-- modified at 10:26 Wednesday 19th July, 2006
|
|
|
|
|
Hi,
I am developing a webcrawler/webspider in C#.Net 2005, I am extracting text from web pages through the code below. But the problem is that it only extract text from html pages because asp.net pages does not contain headers like …. So how I extract text from asp.net & php pages.
Code for extracting text from html web pages
S is string which contains the webpage
MatchCollection mPage = Regex.Matches(s, @"((|||||)\s*.+\s*(|||||))", RegexOptions.IgnoreCase);
foreach (Match mP in mPage)
{
StreamWriter i = new StreamWriter(@"C:\WebSpider\index.txt", true);
i.Write(mP.Groups[0].Value.ToString() +"\t"+ u +"\n");
i.Close();
}
|
|
|
|
|
Posting the question once is enough
|
|
|
|
|
Hi,
I am developing a webcrawler/webspider in C#.Net 2005, I am extracting text from web pages through the code below. But the problem is that it only extract text from html pages because asp.net pages does not contain headers like …. So how I extract text from asp.net & php pages.
Code for extracting text from html web pages
S is string which contains the webpage
MatchCollection mPage = Regex.Matches(s, @"((|||||)\s*.+\s*(|||||))", RegexOptions.IgnoreCase);
foreach (Match mP in mPage)
{
StreamWriter i = new StreamWriter(@"C:\WebSpider\index.txt", true);
i.Write(mP.Groups[0].Value.ToString() +"\t"+ u +"\n");
i.Close();
}
|
|
|
|
|
Hi,
I am developing a webcrawler/webspider in C#.Net 2005, I am extracting text from web pages through the code below. But the problem is that it only extract text from html pages because asp.net pages does not contain headers like …. So how I extract text from asp.net & php pages.
Code for extracting text from html web pages
S is string which contains the webpage
MatchCollection mPage = Regex.Matches(s, @"((|||||)\s*.+\s*(|||||))", RegexOptions.IgnoreCase);
foreach (Match mP in mPage)
{
StreamWriter i = new StreamWriter(@"C:\WebSpider\index.txt", true);
i.Write(mP.Groups[0].Value.ToString() +"\t"+ u +"\n");
i.Close();
}
|
|
|
|
|
Hi,
I am developing a webcrawler/webspider in C#.Net 2005, I am extracting text from web pages through the code below. But the problem is that it only extract text from html pages because asp.net pages does not contain headers like …. So how I extract text from asp.net & php pages.
Code for extracting text from html web pages
S is string which contains the webpage
MatchCollection mPage = Regex.Matches(s, @"((|||||)\s*.+\s*(|||||))", RegexOptions.IgnoreCase);
foreach (Match mP in mPage)
{
StreamWriter i = new StreamWriter(@"C:\WebSpider\index.txt", true);
i.Write(mP.Groups[0].Value.ToString() +"\t"+ u +"\n");
i.Close();
}
|
|
|
|
|
Hi Friends,
Can anyone tell me how can we implement spell check in a web application. My problem is that i have a text area. what all words i enter there should be checked for its correctness.
Vipin
|
|
|
|
|
|
Hi
In my Web Form, I have this code:
<code><HEAD>
<title id="title" runat="server"></title>
</Head></code>
Then in the code-behind file, I set the title of the page dynamically.
My problem is that sometimes, my web form deletes <b>runat="server"</b> property from the <title> tag automatically. Because it deletes the <b>runat </b>property, my page stops working. I manually have to add <b>runat="server"</b> into the <title> again.
So please tell how I can solve this problem.
Thanks
|
|
|
|
|
Just do this in the code behind:
<br />
this.Page.Title = "Your Title Here";<br />
|
|
|
|
|
Or you could do this:
<head>
<title><%= pageTitle %></title>
<head>
and in your codebehind define pageTitle as protected and assign it in the Page_Load event: pageTitle = "the title of my page";
regards,
Mircea
<small>Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.</small>
|
|
|
|
|
Any one please help me to add context menu to a table row. And the menu should not come when right clicking other parts of the page.
|
|
|
|
|
|
Why is it necessary to implement try catches in your source code when there is already page-level and application-level error handling? To me it sounds a bit redundant.
In the page-level and application-level error handling I log the errors (and InnerExceptions) in the DB, email and the event logger.
Thanks
Fuze
|
|
|
|
|
It is good practice to handle exceptions as close to the source as possible. This gives you the opportunity to handle the exception in an intelligent way and resume work if appropriate. If you wait to catch it at the page or applicaiton level it may be too late.
|
|
|
|
|
|
Colin Angus Mackay wrote: writing code that is too defensive and that can actually hide bugs
Agreed. As with anything the trick is know when and how to use the tools you have. What I meant was not to just bubble the exception back up the call stack when it can be handled at the source, especially in the case of a class library. If I can recover from an exception in my library I don't want to make it the responsibility of the calling application.
|
|
|
|
|
Lets say if you accessing a webservice to retrieve party information and that causes an exception what is the most logical thing to do once it is caught? Im logging them at page and application level. Do I just revert the customer back to that same page where the error occurred and lot it or do I transfer the user back to the homepage and log it. Excuse my ignorance Im a novice with regard to error handling. Thank you
Fuze
|
|
|
|
|
How you handle it depends on the application. Without know how your app is desinged to function I would say to return the user to the page with some message indicating what has happened, i.e "Invalid data", "No record found", etc. Give them a chance to correct any entries. If there is nothing for them to correct, then possibly it would be appropriate to return the to the home page.
|
|
|
|