- My config files are identical, except for connection strings.
- I'm using IIS on both machines
- I elevated the IIS user on the server to ensure it's not a permissions issue
- No exceptions are thrown on my server where the e-mails are not being sent
- I know the gmail configs are correct because I can send e-mails from my dev box.
Windows firewall is off and the network firewall is not blocking outbound ports.
What else should I look for?
IIS 7 on Win2k8, using ASP.NET w/ C#
SmtpClient smtpClient = new SmtpClient();
smtpClient.EnableSsl = true;
smtpClient.Send(fromAddress, toAddress, subject, body);