Windows Server 2008 R2 Thread, IIS & SMTP Server in Technical; Hi Guys,
Not really sure if this is in the correct area or not but I am trying to setup ...
21st March 2013, 07:24 AM #1
IIS & SMTP Server
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
IDG Tech News
21st March 2013, 11:15 AM #2
In the Gmail account POP needs to be enabled (Settings > Forwarding and POP/IMAP)
Then in IIS SMTP settings :
Username : email@example.com (replace gmail.com with google apps domain if applicable)
Password : yourgmailpassword
Tick TLS encryption
TCP port 587
Smart host smtp.gmail.com
21st March 2013, 11:42 AM #3
Yep that's exactly what I did but the test messages just keep going straight into the badmail folder.
21st March 2013, 11:48 AM #4
Paste the following in a notepad
(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!
Thanks to googlemad from:
staningrimsby (21st March 2013)
21st March 2013, 12:13 PM #5
Thank you for that just re-installing IIS then will give it a go.
21st March 2013, 12:54 PM #6
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.
21st March 2013, 01:19 PM #7
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 ???
21st March 2013, 02:36 PM #8
Maybe give it a couple of restarts...
21st March 2013, 02:58 PM #9
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.
By Uraken in forum Windows
Last Post: 22nd May 2007, 10:53 AM
By OutToLunch in forum Windows
Last Post: 5th February 2007, 03:19 PM
By ryan_powell in forum Web Development
Last Post: 9th September 2006, 09:48 PM
By pooley in forum Wireless Networks
Last Post: 6th July 2006, 01:23 PM
By Ric_ in forum Downloads
Last Post: 10th October 2005, 03:46 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)