How to Setup a Microsoft SMTP on Gophish

How to Setup a Microsoft SMTP on Gophish


Whether you’re conducting a phishing campaign to test your organization’s security or optimizing your email delivery process, a dedicated SMTP server can simplify your email workflow and improve your overall email performance. Microsoft’s Simple Mail Transfer Protocol (SMTP) server is a reliable and easy-to-use option for managing your organization’s email communication needs. In this article, we will guide you through the process of setting up a Microsoft SMTP server on Gophish.


Setting Up Microsoft SMTP on Gophish

  1. On your Gophish instance, navigate to Sending Profiles. 
  2. Select the Outlook Mail option to customize the template. 
  3. On the menu, input your Microsoft email address in the SMTP From field. Leave the default value Host field as it is. Input your email address in the Username field. 
  4. To generate a password, go to the security settings in your Microsoft account. Click on Advanced Security Settings. Under App Passwords, select Create a new app password and copy the password.
  5. Go back to your Gophish instance and input the password in the Password field.
  6. Send a test email to confirm success.


In conclusion, setting up a Microsoft SMTP server on Gophish can streamline your email workflow and enhance your organization’s security posture. By following the guidelines outlined in this article, you can install and configure your SMTP server with ease and ensure that your phishing campaigns or email delivery processes are running smoothly.