Sharepoint isn’t very flexible when it comes to email server.
Enter the local smtpserver.
- Install SMTPServer
- Configure SMTP-Service using IIS6.0 Management Tools
- Access>Relay
- Delivery>Outbound Security>basic authentication
- Delivery>Outbound Connection> Specify TCP port
- Delivery>Advanced
- All OK.
- Configure Centralt Administration>Web Application> Outgoing email = myserver.mydomain.local
It should work immediatly. No need to reset IIS or restart the smtpserver.
Sometimes youre mailing servers you cant verify settings on. Then Gmail can be used to verify the mailflow.
For google
- Basic Authentication = myaccount@gmail.com , pwd: mypassword, use TSL
- Use TCP port 587
- Smarthost = smtp.gmail.com
To check email flow on local server, drive:\inetpub\mailroot\queue folder can be monitored. When mail is sent from sharepoint ,it lands in this folder while contacting the smtpserver. When there’s a problem, the mail will be stuck here. In some situations it might be needed to empty this folder, then content in this folder can be deleted if the iisadmin service first is stopped.
/>stop-service iisadmin
/>start-service iisadmin
/>start-service smtpsvc
References:
No comments:
Post a Comment