staningrimsby Posted March 21, 2013 Posted March 21, 2013 Hi Guys, Not really sure if this is in the correct area or not but I am trying to setup an SMTP Server in IIS on Server 2008 R2 to connect to gmail I have followed various instructions like the site below; Setting up SMTP server in Windows .. to use Gmail All seemed to go well but when I try to send a test email it just goes straight to the ‘badmail’ folder, I presume this means it can’t connect to the SMTP at Gmail, can anyone please tell me if I have to set something up in the actual Gmail account, or is there a port on the Server \ External firewall I need to open ??? Been doing this for 2 days now and don’t feel like I’m getting anywhere. Cheers in advance Stan.
googlemad Posted March 21, 2013 Posted March 21, 2013 In the Gmail account POP needs to be enabled (Settings > Forwarding and POP/IMAP) Then in IIS SMTP settings : Delivery Tab Outbound security Basic authentication Username : [email protected] (replace gmail.com with google apps domain if applicable) Password : yourgmailpassword Tick TLS encryption Click OK Outbound Connections TCP port 587 Click OK Advanced Smart host smtp.gmail.com Click OK
staningrimsby Posted March 21, 2013 Author Posted March 21, 2013 Yep that's exactly what I did but the test messages just keep going straight into the badmail folder.
googlemad Posted March 21, 2013 Posted March 21, 2013 Paste the following in a notepad From: [email protected] To: [email protected] Subject: testing This is the test message body. (From address should be the one you've set up in IIS and the To address should be valid) Then save the notepad in c:\inetpub\mailroot\pickup as "test" (include the quotation marks as this makes sure no file extension is put on the end) and it should work. I only set this up myself yesterday afternoon! 1
staningrimsby Posted March 21, 2013 Author Posted March 21, 2013 Thank you for that just re-installing IIS then will give it a go.
staningrimsby Posted March 21, 2013 Author Posted March 21, 2013 Thank you so much you are a star , it would appear that all my configuration was correct it was the format the test email was going out on was not correct. The initial test emails have worked fine I just need PSF to connect and test it with the software now.
staningrimsby Posted March 21, 2013 Author Posted March 21, 2013 One quick question Googlemad, I managed to send 2 successful test messages but when I went to try again the messages are just sat in the queue folder and won’t go anywhere, do you no why ???
googlemad Posted March 21, 2013 Posted March 21, 2013 Sadly not! Maybe give it a couple of restarts...
staningrimsby Posted March 21, 2013 Author Posted March 21, 2013 Its ok all sorted, tried re-starting the service and nothing, logeed into gmail and re-set the password and its back up and running again.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now