Last post Sep 20, 2010 07:53 AM by Mark DotNet Evans
Sep 17, 2010 07:10 AM|Mark DotNet Evans|LINK
I hope you can answer the following question for me. I have a server with win 2008 installed and a simple asp.net application that is successfully sending a email through System.Net.Mail.Smtpclient("localhost").
Now my 1st question is, how exactly is this mail sent if there is no Default Smtp Virtual Server installed?
I get an error when I try to send an email that is larger than around 4MB. I know this is to do with the limit that is specified on the server but where is this limit set?
After installing a new Smtp Virtual Server #1 in the IIS6 console, I am able to see and change the file size limit on email but I cannot work out for the life of me how to send emails from my asp.net application through this smtp virtual server.
Obviously the best fix for me would be to work out where the default smtp server is and how to manage it rather than installing another one and then trying to route all applications through this new virtual server.
When I think I set it all up correctly I get the old "Mailbox unavailable. The server response was: 5.7.1 Unable to relay for (email address)", ie I have given my new virtual smtp server a unique ip and port number and changed the Smtp E-mail page within
IIS to point to this new server.
In short... HELP!!!
Sep 20, 2010 07:53 AM|Mark DotNet Evans|LINK
Solved this one, unbeknown to me, there was a third party smtp mail server installed on the machine (MailEnable) so this just need to be configured.