Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

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!

  • Thanks 1
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...