![]() The implementation of the secure communication link is by using the TLS protocol.īy using TLS protocol, we can ensure that the communication channel between the host that sends the E-mail and the Office 365 mail server is encrypted. ![]() Creating an encrypted communication channelĪn additional layer of security that we will add is that in the current scenario, we want to use a secure communication link between the desktop that runs the PowerShell script and the Office 365 mail server. Using the procedure in which we provide the user credentials, enables us to avoid from scenarios in which the E-mail that we sent by the PowerShell script will identify as a “problematic mail,” and for this reason, will be blocked or redirected to the user’s junk mail.Īn additional advantage is that when we use an authenticated session, we can send the E-mail to external recipients, meaning recipients who are not hosted by the Exchange Online server.Ģ. The main reason for proving the Office 365 user credentials have been, that in case that the “element” (the PowerShell script) that address the Office 365 mail server consider as “identified user \ recipient,” the mail server relates to this element as a trusted entity. Running PowerShell script using windows task scheduler.Task 3#3 – Running the “Send mail PowerShell script”.Task 2#3 – Create a “Send mail PowerShell script”.Task 1#3 – using the PowerShell command for encrypting the text file that includes the password.Method 2 – Send E-mail via Office 365 mail server using TLS session and authenticated session | Using saved encrypted user credentials.Task 2#2 – Running the “Send mail PowerShell script”.Task 1#2 – Create a “Send mail PowerShell script.”.Method 1 – Send E-mail via Office 365 mail server using TLS session and authenticated session | Providing user credentials while running the script.General guideline and requirements for using the “Send mail PowerShell script.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |