To send e-mail from Metasploit Pro, you must configure the SMTP settings for the mail server that you want to use. The tasks that utilize the SMTP settings are social engineering and reporting. For example, if you want to e-mail a report after you generate a report, you need to configure the SMTP settings.In order to utilize e-mail capabilities, you must have access to a local mail server ora web mail server. You need the address and port that the mail server runs on, the domain name that hosts the mail service, and the credentials for the mail server.
1.) Choose Administration > Global Settings from the main menu.
• Address - The address to the remote mail server. For example, use 127.0.0.1 or localhost if the mail server runs on your local machine.
• Port - The port that the mail server uses. The default port is 25.
• Domain - The fully qualified domain name that hosts the mail server. For example, use sitename.com.
• User Name - The user name that the system uses to authenticate the mail server.
• Password - The password that the system uses to authenticate the mail server.
• Authentication - The authentication type that the mail server uses. Choose from plain, login, and cram_md5.
![]() |