28) Click on Authentication button.
29) Tick the Anonymous Access (Just it check whether it’s Already ticked or not).
30) Click Ok Button.
31) Click on Connection in the connection control section.
32) Click on All Except the list below.
33) Click Ok Button.
34) Click on Relay button in the Relay Restrictions section.
35) Click on All Except the list below.
36) Click on Ok Button.
Step 37-39: Click on Messages tab: -37) Click on messages tab. 38) This is all about the Limitation of the email Message size, Session Size, Limit the number of messages for connection if you really wants to limit the message just go ahead with your settings or otherwise just deselect all the Limitations (That’s up your choice but it never effect your email functionality). 39) Badmail Directory: SMTP Uses this directory to keep the un-send emails with description such as what is the reason for not send the mail to destination. Then just click ok button.
Step 40-53: Click on Delivery tab:-40) Click on Delivery tab. 41) Click on Outbound Security button in Delivery tab. 42) System will prompt you Outbound Security window, you need Select Basic Authentication.
a. Then enter your Office 365 mail address:Sreehari.inukollu@xxxxx.com. b. Then enter your mail password.
43) Click on TLS Encryption because Office 365 mail uses secure connection. 44) Then click Ok. 45) Click on Outbound Connections button, you will get outbound connections dialog box. 46) Please Enter TCP Port: 587. 47) Click Ok button. 48) Click on Advanced button. 49) Check the Fully-qualified domain name: htshydasm.dc.com if the value is not available then set a valid value in that field. 50) Please Pass Smart Host:
a. Smtp.office365.com for office 365 mails. b. Smtp.gmail.com for Gmail. c. For other mail server please check with your admin or google.
51) You can leave other settings with default values and then click Ok Button. 52) Click on Apply Button. 53) Click on Ok Button.
Note: Finally we have successfully installed and configure our SMTP server with Office 365 account. It’s time to test the SMTP service is working perfectly or not. Here are the steps to test the SMTP Server. Step 54: Create a *.txt file with following content, Ex: Email.txta. FROM: Sreehari.inukollu@xxxxx.com TO: hari.inukollu@gmail.com SUBJECT: Test email this is a test email sent from my SMTP server . b. Remember From address should be same as you have given at Step Number: 42-a because you are sender mail should authenticate with password. c. In 54-a section we have. (Dot) at end of line. It’s mandatory because it tells to SMTP server this is end of mail content.
Step 55-56: Copy the Email.txt file and past it in c:\inetpub\mailroot\Pickup folder. Step 57-58: As soon as you past it in the folder then SMTP Service will read file and move to c:\inetpub\mailroot\Queue folder and then keep file in queue to send to the To email address.