ChrisMDrew
asked on
Configuring an SMTP server under Windows Server 2008
Hi All,
Probably very simple but I'm not up on how to ocnfigure SMTP email. I am moving a web site to another server running Windows Server 2008 and need to re-code the email sending code as this used a web service which is no longer. I am instead wanting tio use the System.Net.Mail .NEt functionality to send email. That's the easy bit!
I have aded a Virtual SMTP server in IIS and can access/configure the service using the IIS 6 manager. My problem is -: how do I actually set this up so that I can send email from .NET. I understand that I will need to specify a 'from' address in my call to send email and that somehow this must match up with the SMTP server to prevent relay attempts but how?
Is the virtual SMTP service a complete solution for sending email or do I need something else to actually send the email?
If my server is servicing the domain abcde.com I can configure mail.abcde.com to point to the IP address of the server. Would I then set the 'fully qualified domain name' under SMTP Virtual Server>Advanced to be abcde.com and set the sending email address to 'sender@abcde.com?
Any suggestions on setting this up so that I can at least test the email sending would be most welcome
Probably very simple but I'm not up on how to ocnfigure SMTP email. I am moving a web site to another server running Windows Server 2008 and need to re-code the email sending code as this used a web service which is no longer. I am instead wanting tio use the System.Net.Mail .NEt functionality to send email. That's the easy bit!
I have aded a Virtual SMTP server in IIS and can access/configure the service using the IIS 6 manager. My problem is -: how do I actually set this up so that I can send email from .NET. I understand that I will need to specify a 'from' address in my call to send email and that somehow this must match up with the SMTP server to prevent relay attempts but how?
Is the virtual SMTP service a complete solution for sending email or do I need something else to actually send the email?
If my server is servicing the domain abcde.com I can configure mail.abcde.com to point to the IP address of the server. Would I then set the 'fully qualified domain name' under SMTP Virtual Server>Advanced to be abcde.com and set the sending email address to 'sender@abcde.com?
Any suggestions on setting this up so that I can at least test the email sending would be most welcome
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.