This is very useful when you want to test your outgoing email for SharePoint but not have access to an SMTP server.
- Create and setup a Gmail account to use POP3
- Install the mail server role (POP3 and SMTP)
- Configure the IIS Server to forward messages using that account:
- IIS SMTP Virtual server -> Properties ->
- You can specify only the servers that you want to be able to send email here by selecting Only the list below and adding your servers IP addresses.
- Select Basic Authentication and specify your Gmail account and password. Check the TLS encryption. (If you use other SMTP server, it may not support TLS and cause error)
- Outbound connections button
- Set TCP port to 587 (This is Gmail port, default port should be 25)
- Advanced Button
- specify the smart host as smtp.gmail.com
- Now configure the Outbound email in SharePoint to send email to the server where you have installed this SMTP server.
No comments:
Post a Comment