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, 06: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
21st March 2013, 10:15 AM #2
In the Gmail account POP needs to be enabled (Settings > Forwarding and POP/IMAP)
Then in IIS SMTP settings :
Username : firstname.lastname@example.org (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, 10: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, 10: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, 11:13 AM #5
Thank you for that just re-installing IIS then will give it a go.
21st March 2013, 11:54 AM #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, 12: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, 01:36 PM #8
Maybe give it a couple of restarts...
21st March 2013, 01: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, 09:53 AM
By OutToLunch in forum Windows
Last Post: 5th February 2007, 02:19 PM
By ryan_powell in forum Web Development
Last Post: 9th September 2006, 08:48 PM
By pooley in forum Wireless Networks
Last Post: 6th July 2006, 12:23 PM
By Ric_ in forum Downloads
Last Post: 10th October 2005, 02:46 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)