|
-
Jun 29th, 2010, 07:20 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Mail problem
Hello everybody,
I had an ASP.NET 1.1 app running on Windows 2003 server perfectly. I migrated the application to a Windows 2008 R2 server and now the email function doesn't work. SMTP Server is running on the Win 2008 machine but still my ASP.NET application doesn't send out emails.
Any idea?
Thanks.
-
Jun 29th, 2010, 07:57 AM
#2
Re: Mail problem
Hey,
ASP.Net 1.1 would have used System.Web.Mail namespace, which is now deprecated. It assumed that there was a local SMTP Server available on the local machine. Is this still the case on your new server?
Gary
-
Jun 29th, 2010, 08:54 AM
#3
Thread Starter
Frenzied Member
Re: Mail problem
I have a local smtp server installed on the server, but how do I send email to that server when System.Web.Mail.SmtpMail is no longer used?
Thanks.
-
Jun 29th, 2010, 08:56 AM
#4
Re: Mail problem
Given that you are still using 1.1, it is still in there. But in other versions of .Net, i.e. 2.0, etc, it has been deprecated.
Is there any logging in the SMTP Server? Can you see the email getting into the message queue?
Do you have any logging in your application?
Gary
-
Jun 30th, 2010, 07:35 AM
#5
Thread Starter
Frenzied Member
Re: Mail problem
It was my mistake, I couldn't even relay using command prompt. When I was able to send emails with command prompt, my app also started working.
Thanks.
-
Jun 30th, 2010, 07:55 AM
#6
Re: [RESOLVED] Mail problem
Glad to hear that you got it working!!
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|