PowerShell: Send-MailMessage -SMTPServer hostname-To [email protected] Article ID: 52275 - Last Review: April 30, 2015 WHEN TO USE THIS PROCEDURE. There's no shortage of content at Laracasts. Not to worry: Outlook can be configured to work with Gmail. com [Connection timed out #110] Connection could not be established with host smtp. But if you receive a message that indicates a server name, date/time, etc. Now that you have your SMTP connection set up and authorized your app with Google, you can finally use Python to send email with Gmail. Recipient: Where the email is sent to. Depending on the input parameters, the output can include the DNS lookup results, a list of IP interfaces, IPsec rules, route/source. This one is going to be short and sweet, I've been testing SMTP with and without encryption and wanted a good script for that. The first question that comes to our mind when we are setting up the Simple Mail Transfer Protocol SMTP Server is this. By the end of this article, you'll be able to know whether or not you can integrate the port with your email service. This might have been added on a later firmware version. Scripting this attack can test thousands of e-mail address combinations. If you don’t have an SMTP service, here are simple instructions to set one up with Amazon Simple Email Service (SES): Go to Amazon SES console then SMTP Settings > Create My SMTP Credentials; Copy the Server Name, Port, SMTP Username, and SMTP Password for Step 2 below. I have followed instructions carful from the providers on how to set it up. How Gmail SMTP Server Works. Hello All, I'm trying to configure the Email server using Gmail under Admin console in Nextcloud 13 but it doesn't work and the logs are not showing anything: I'm using the supposed correct Gmail IMAP/SMTP configuratio…. Re: What host and port to use for the SMTP server Post by openyk » Mon Jul 21, 2014 8:12 pm Yeah, I can VestaCP admin > Mail > open webmail > login then I can send and receive emails properly when tested against a gmail account. we'll only send max 100 at a time. However, you may want to test that first. When investigating SMTP authentication issues, particular over TLS encrypted SMTP connections, it's always handy if you are able to test the SMTP authentication and StartTLS connection. SMTP Relay. If a successful connection is made, the screen will go blank. Worst thing that could happen to your SMTP server is - it becomes open-relay (accidentally). Now when the next job arrives, SwiftMailer fails to send emails as the connection has been timed out. Perfect for when your client is complaining that they can't connect to your FTP server!. All the diagnostics results are saved in a log file for users to share with their Office 365 admin or support engineers for further investigation. we will discuss in future about the hotfix that was released by microsoft for Customized port till NAV 2009 R2. After a upgrade from Swiftmailer to v5. ) Port 465 is only used for Comcast emails that are out-network meaning they are on an email server not being hosted by Comcast. How can I test the SMTP server connection when configuring a scheduled report in R80. com, Port - 58…. The posts on SMTP25. This same technique works on Linux and. We have swiftmailer ready to use, move on to the next step to create library file. If you cannot find their SMTP server listed on their web site, look for their instructions for configuring Outlook Express) That should connect. - I tried sending a mail using an ASP script, and using a telnet connection. When you click the "Show more info" button, you can see your upload speed and connection latency (ping). Good luck PS: Check for a new release later today if you don't want to add that (array) cast to line 323 in Sendmail. Then enter in your personal Gmail address for the username ([email protected] The first one sends emails on behalf of the server your domain is hosted on. disconnects with a "connection to host lost" message in the command prompt. This way you would be able to check out the outgoing email. -phpbb requires an smtp server in order to send e-mail. The golden rule with Exchange 2010 SMTP connectors is don't do more than you have to. Connection security: in itself, SMTP email transfer doesn’t provide an encryption. If this is something that you have to test once in a while, or just for a small number of SMTP servers, then telnet may be the most convenient tool, as it has been pointed out. Minor bug with "Test SMTP Connection" and MX recor - posted in General Technical Questions: When the dns name in the destination server field under the domain manager has MX records only associated with it (no A records), and use MX records: Yes is selected, mail gets delivered as expected but the smtp test cannot be performed. Try MailGet – email marketing solution that connects with 6 cheap SMTP relay service providers namely, MailJet, PostMark, Mandrill, SendGrid, Amazon SES and MailGun. symfony2 swiftmailer Connection could not be established with host smtp. However, you may want to test that first. It will also test your MX record for open relay issues. After the AIX firewall receives the e-mail, the SMTP connection is closed. SwiftMailer can send E-Mail using external servers. The following response will be returned from the SMTP server: 221 example. Nik Dow Nik Dow. I have tried to use putty for a telnet connection however it simply closes after a few seconds and i cannot get any results. 81K stars phpmailer/phpmailer. i'm trying to make the smtp functionality to work with Gmail account and tried PEAR mail & net_smtp method but however it didn't work. A successful connection to the port indicates it is open. This is the portable edition of SMTP Tester - a tiny application whose sole purpose is to test your SMTP server, so that you can verify multiple possibilities of sending an email. Make sure your server responds with a 550 5. For example, if you have problems sending email messages over SMTP to your ESA, you can test the SMTP connectivity by using Telnet on your local client. HOW TO TROUBLESHOOT AND CHECK IF EMAIL SERVER SMTP PORT 25 IS OPEN? A while ago we had issues with our ChicagoVPS’s VPS server instance and completely blocked SMTP Port 25 email traffic. net -Port 443. -This can be included as part of php, (sendmail function) or-You can specify and connect to a specific smtp server-However phpbb2 cannot use an SSL connection very few smtp servers (such as googlemail) allow insecure connections. 1 I REALLY NEED YOUR HELPPPPPPPPPPPPPPPPPPPPPPPPPP. Test SMTP (email) via Telnet. This procedure can be useful when the YourSite Explorer > Mail Servers > Test Mail Server button is returning a failure result, and you need to work out whether this is because of a problem. I have set the expected values given to me by Office 365: SMTP setting Server name: smtp. helo response should be as follows 250 OK. Blog SparkPost How to Check an SMTP Connection with a Manual Telnet Session In the world of email, there are many facets to testing, but one of the most basic tests you can do is to simply telnet into a given SMTP server. Seems like both domain. If is selected, the SMTP-over-TLS encryption communication can be used by STARTTLS command. Mailtrap is a test mail server solution that allows testing email notifications without sending them to the real users of your application. Could as well be a problem of your php configuration. Re: What host and port to use for the SMTP server Post by openyk » Mon Jul 21, 2014 8:12 pm Yeah, I can VestaCP admin > Mail > open webmail > login then I can send and receive emails properly when tested against a gmail account. But your swiftmailer code is connecting via SMTP (over the network). com using PHP 5. J'essaye depuis quelques jours d'envoyer un mail avec swiftmailer chez ovh, j'aimerais savoir comment l'on fait ? J'ai bien beau suivre la configuration indiqué sur le site officiel de symfony. If you're familiar to Windows Command Line you can do it yourself using TELNET and SMTP commands. The SwiftmailerServiceProvider provides a service for sending email through the Swift Mailer library. Setup your TELUS. This is possible thanks to PowerShell. Cisco Unity Connection can send message and calendar event notifications in the form of text messages to text pagers and text-compatible mobile phones with the use of SMTP. Use this if you are getting time-out errors on a slow connection or while testing a slow/busy server. How to test Gmail SMTP Server connection? Since both "SSL" and "allow authentication" are enabled, yet sending mails through Gmail SMTP server does not work as it should, the next logical step to troubleshoot the connection is by carrying out a telnet test as described below. Once the mail server verifies the email it sends it to the destination mail server. 5- When i send mail to my yahoo id [email protected] This problem is not very common and happens when you use SwiftMailer with a Gmail account to send emails (even if you use a framework like Laravel, Symfony CakePHP). This free online tool allows you to quickly test a POP3 mail server, so you can be sure that it is functioning correctly. " "Email Test. 0 Service unavailable. com:465---You can play as usual with the needed protocols or cipher suites. An SMTP connection manager enables a package to connect to a Simple Mail Transfer Protocol (SMTP) server. Ideally, I would want to close the smtp connection after every job. Free advanced online tool to Test your SMTP server. 7 Likes 7,470 Views 3 Comments SMTP Connection. By default, SMTP listens on port 25. answered Sep 18 '19 at 1:51. See JIRA issue MULE-4970. This book, which provides comprehensive coverage of the ever-changing field of SSL/TLS and Web PKI, is intended for IT security professionals, system administrators, and developers, with the main focus on getting things done. To view only SMTP traffic, type smtp (lower case) in the Filter box and press Enter. SSL connection has failed on cPanel Exim server cPanel. Credit: …. SMTP Microsoft Office 365. If you are SMTP connection problems with SparkPost, here’s a checklist of things to verify: The SMTP server name should be smtp. The AntiFlood plugin's logic is basically to disconnect and the immediately re-connect with the SMTP server every X number of emails sent, where X is a number you specify to the plugin. Input a domain name or IP Address or Host Name. PHPMailer is a full-featured email creation and transfer class for PHP Easily test email in RSpec, Cucumber, and MiniTest Latest release 2. March 28 How to test the remote SMTP connection from your server by using telent. Today we are going learn about best PHP library called swiftmailer which is widely used by developers to send emails from PHP applications. See Step #4 on how to test relaying mail! DATA - tells the SMTP server that what follows is the body of your email. Servers : How to manually test a SMTP connection using Telnet. In certain situations it can be very helpful to be able to quickly check if a SMTP server is online and reachable, has support for TLS and that it's working, test user authentication and measure transaction delays and throughput. com but my original pop smtp server smtp. Your host (10. Smtp Er Smtp Er. Hello, Sparkpost requires a TLS connection, but our server's self signed certificate seems to cause an issue with Swift Mailer. Change Secure Connection to None. Questions: I’m posting because I’ve already gone through the solutions posted in other questions on here but they haven’t helped. You will notice that the first test result shows this failure: Failed to connect to the domain controller. Normally I would test it with SSLLABS sadly this only can check https can't check smtp/STARTTLS. It is an indispensable tool for the evaluation and testing of network management and network testing tools. com, we have to eliminate the application from the equation and utilize an operating system level tool such as Telnet. txt is a local file that contains the body of the test message I'm sending. Does anyone know a way to manually inspect a remote SMTP server's TLS certificate, as one can do for a remote HTTPS server's certificate in a web browser? It could be very helpful to determine who issued the certificate and compare that information against the list of trusted root certificates on our Exchange server. The examples later in this article use address central. Then choose the type of test you wish to perform. In a way that they do not waste time with spammers. This post will walk through all the settings you will need. Global Outgoing SMTP Email Service. ORACLE-BASE - Email From Oracle PL/SQL (UTL_SMTP) Articles Oracle 8i Oracle 9i Oracle 10g Oracle 11g Oracle 12c Oracle 13c Oracle 18c Oracle 19c Miscellaneous PL/SQL SQL Oracle RAC Oracle Apps WebLogic Linux MySQL. To test a group just select it in the Group section: Figure 5. 7 Likes 7,470 Views 3 Comments SMTP Connection. mandrillapp. The SMTP server must connect to another SMTP server to relay the message. not localhost) I'd check with your hosting provider whether they enabled some sort of firewall that blocks connections on the SMTP port (port 25 usually). For more SMTP Tests, check this. In the example below, it will test the connection to Gmail. 1 authentication required, So we required action to set on security issue which is default off in Gmail Email settings. The SPF is specific to your email provider, for example Google If you use. As an email provider we give our clients the best of security options, and TLS is a very important security tool. Select if you want to test IPv4 or IPv6 connectivity to the Mail Server. Configure SMTP Connection. Check your internet connection. To test the SMTP authentication connect with telnet to postfix as in the example below. We will be doing that using two tools, namely : 1) Postal 2) JMeter Postal is a program which tests the performance of SMTP email servers by sending random messages to the specified server. But your swiftmailer code is connecting via SMTP (over the network). disconnects with a "connection to host lost" message in the command prompt. 6, one can send E-mail messages directly from PL/SQL using either the UTL_TCP or UTL_SMTP packages. Wormly offers server monitoring, website monitoring and uptime monitoring to keep you online and performing fast. People have probably been wondering how emails get to their destination. com; Silex SwiftMailer no realiza la conexión SMTP tras la ejecución; Swiftmailer Transporte SMTP que rechaza la dirección IP local; Symfony2 Monolog to Email Errors por qué swiftmailer. It happens. The smtp_tls_security_level setting ensures that the connection to the remote smtp server will be encrypted, and smtp_sasl_tls_security_options removes the prohibition on plaintext passwords. settings to make sure that smtp. uk), with and without auth. Connection refused - posted in General Technical Questions: I am running a Barracuda 300 and use NAT for my Exchange server and the 300. Test the SMTP Service To test the SMTP service, follow these steps: On a computer running Windows Server 2003, type Telnet at a command prompt, and then press ENTER. The mails are accepted by the SMTP server, but the recipient doesn't receive them. This way you would be able to check out the outgoing email. 62 this afternoon. Select if you want to test IPv4 or IPv6 connectivity to the Mail Server. How to use Telnet to Send a Test Message and Verify SMTP Communication. com) and your password. Use the Test-SmtpConnectivity cmdlet to diagnose whether an SMTP connection can successfully be established to the Receive connectors on a specific server. com ' Symfony2 SwiftMailer Connection no se pudo establecer con el host smtp. PHP Developers Network A community of PHP developers offering assistance, advice, discussion, and friendship. It described changes to files in the Swift Mailer module v1. However, you may not be ready to jettison the familiar interface of Microsoft Outlook just yet. " Followed by the domain name of your ISP (ex. com-Subject "This is a test email"-Body "This is the body of the test email sent via PS. A alternative is immuniweb but we will use this later. Here are a few relevant details. Welcome - Using an SMTP server as the transport for Swift Mailer is the most reliable method of sending an email. SMTP settings: Server: outbound. In order to use Oracle UTL_MAIL package we have to set a new init. Now when the next job arrives, SwiftMailer fails to send emails as the connection has been timed out. Visual Basic. Links in the results will guide you to other relevant tools and information. In this topic: Configuring SMTP settings. Again, some ESPs require full e-mail address ([email protected] I faces this problem, I went through 7 solutions nothing worked. com and mentioned pop and smtp ip address where i have installed hmailserver. SwiftMailer can send E-Mail using external servers. 1 Relaying denied. SMTP Swiftmailer sometimes sends or fails to send a message. Non of them can complete the test. You can manually send e-mails with an telnet client, that's the best to check if the smtp server is working (I don't know swiftmailer at all). com, but I've just updated it to mail. All of your MX record, DNS, blacklist and SMTP diagnostics in one integrated tool. I just installed itop, I want to know the steps to configure the swiftmailer to send tests to the gmail account or other account, which interests me now to know the steps to follow for the connection to follow thank you. An SMTP connection manager enables a package to connect to a Simple Mail Transfer Protocol (SMTP) server. On this page you’ll find instructions for setting up a Rogers Yahoo! account on some common devices and email programs. To test the connection between EXM and the MTA: In the Content Editor, select the Email root item. if your Home Server is server. ) Port 465 is only used for Comcast emails that are out-network meaning they are on an email server not being hosted by Comcast. You can use it to test your SMTP connection to Sendgrid, Mailgun, Amazon SES, or any other SMTP server in the world. In order to test smtp connection and the true capability of your machine being able to establish a connection to smtp. Now that you have your SMTP connection set up and authorized your app with Google, you can finally use Python to send email with Gmail. com ID is not difficult but it does not use “default” settings so making this post to show you how to do it and give you the details of what the settings should be. End with a ". The SMTP email verification test is the best one but it is considerably slower than the DNS test. Enter the IP address of your account’s SMTP server 43. we will discuss in future about the hotfix that was released by microsoft for Customized port till NAV 2009 R2. Balancer can’t be, in this case, protocol agnostic: it has to inspect the traffic and upgrade to encrypted connection when STARTTLS is issued by the client (only when STARTTLS is related to a SMTP/IMAP/POP command and not email data). Your SMTP server is then configured to automatically respond to those test emails as they are received. send mail using smtp in php example (9). The best way to test this is to set up a local WAMP or LAMP stack on your development computer. ” Click on “Outgoing Server” tab. How to Test SMTP Relay Server Connection Issues [Step by Step Guide] Before we show you how to connect to your mail server using our telnet alternative, you'll need to download your copy of our free SMTP server test tool. Try our free plan!. A better email (send) library - patch available. Nothing works. - mc0e Jun 7. Configuring Netscape 7. This will turn the secure connection and SMTP authentication off, but you should be able to send and receive mail once again. This procedure can be useful when the YourSite Explorer > Mail Servers > Test Mail Server button is returning a failure result, and you need to work out whether this is because of a problem with the settings being entered (as opposed to a problem in the CCM software). Hi, been stuck with this for days, but managed to get it working checked Swiftmailer v6 installed for latest Laravel 5. In the IMAP Access section, select Enable IMAP. Try again and if it fails, forced restart: press and hold power AND the home button until it shuts off - keep holding until the apple logo shows up again. It’s best for shared hosting websites where you need to manage security and good account seperation. RCPT TO - who you're sending it to. People have probably been wondering how emails get to their destination. The stunnel program has special code for this, the command “ stunnel -n smtp -c -r mail. This same technique works on Linux and. You can also specify a time period in seconds that Swift Mailer should pause for between the disconnect/re-connect process. While it is not the latest version of SwiftMailer, it should address the lack of STARTTLS and allow you to connect to modern gateways. If this is the case, simply quit the mail app and restart it again. Choose Tools > Accounts… from the menu bar. php(79): Swift_Transport_AbstractSmtpTransport->start() #3. Test SMTP (or test-smtp. Soulution: From what ive discovered, you must use the following configuration for SMTP to work with office3. you need to talk to your mail admin. Just troubleshooting SMTP setup here, sorry if im hijacking a discussion. com, Port - 58…. x to use the secure POP/IMAP connection that the SIUC e-mail servers offer is a relatively easy process. com Swiftmailer удаляет вложение после отправки Библиотека PHP для чтения электронной почты. Test Configuration. SMTP is a protocol - in other words it's a "way" of communicating a job to be done (i. ini that does not require authentication to test this ?. A better email (send) library - patch available. Once you make sure that everything works properly and your email messages look right, you will be able to easily substitute the SMTP settings in our. Troubleshoot common problems sending email through the Amazon SES Simple Mail Transfer Protocol (SMTP) interface. You can automatically test your account after setup by ticking Automatically test account when Next is clicked checkbox on the right hand side of the screen below. Using an O365 account/SMTP information for the Workflow Setup window, I've always used port 587 and marked the option for 'This server requires a secure connection (SSL)'. Then the SMTP code on the AIX secure way firewall opens a separate SMTP conversation (connection 2) to the Internet mail server. All these options are configured under the swiftmailer key in your application configuration. SMTP authentication, also known as SMTP AUTH or ASMTP, is an extension of the extended SMTP (ESMTP), which, in turn, is an extension of the SMTP network protocol. In THAT case, I'd use a standard SMTP TLS port like 465 or 587 and secure that communication. ABOUT SMTP DIAGNOSTICS. The following is the logs of the communication (the '*' are for priv. All credentials are correct and inserted into DB, and running nginx. " (Doc ID 2467560. OS: windows 7 Apache 2. SMTP settings are only for sending email; you'll also need to provide the settings for receiving emails. We are going to try to connect to the Smtp server with this credential :. Test SMTP (or test-smtp. An SMTP interoperability machine has been setup for testing with the open source version of sendmail 8. On Test SMTP Connection window, enter the test email recipient and click Send test email. Testing an email server with Telnet client is where we would focus, going forward with our solution. The Simple Message Transfer Protocol is a method of exchanging information between a sender's and a recipient's servers. It's a good idea to send a test email to a third-party email address. com ID is not difficult but it does not use “default” settings so making this post to show you how to do it and give you the details of what the settings should be. Formats and sends emails using the SwiftMailer library. Once configured then Click "Test Email Setup" you will get successfully. Where "-S smtp " is the crucial component (that apparently AIX mail/mailx doesn't support) allowing you to send through a remote server rather than a locally-configured server. STARTTLS command name is used by SMTP and IMAP protocols, whereas POP3 protocol uses STLS as the command name. The Send Mail task that Microsoft SQL Server Integration Services includes uses an SMTP connection manager. Last Updated: May 31st, 2018 test message this is a test. You’ll see that in this example we are configuring Outlook to connect via POP3. The first question that comes to our mind when we are setting up the Simple Mail Transfer Protocol SMTP Server is this. Discussion in 'Server Operation' started by Ovidiu, Sep 21, 2012. ->setBody('This is the text of the mail send by Swift using SMTP transport. Check out our other popular post too –. -phpbb requires an smtp server in order to send e-mail. Now when the next job arrives, SwiftMailer fails to send emails as the connection has been timed out. net application. Test the SMTP Service. Pre-requisite. if you're using sendmail + SMTP=localhhost. Port:465 Requires authentication same as login. com [ #0] (code: 0) i have validated my email credentials with Mozila Thunderbrid everything works normal i have used proper ports and password any idea why i am getting error. ) and authentication. Send emails using SMTP, sendmail, postfix or a custom Transport implementation of your own. The sent emails contain sensitive information about subscription, payments, credentials. You can use the SMTP relay service setting to filter messages for spam and viruses before they reach external contacts. 1 authentication required, So we required action to set on security issue which is default off in Gmail Email settings. Sign into your UAH Google account. Configure Google Mail in Outlook 2013 (Windows) Note: These instructions follow the latest version of the software noted above. Test an SMTP Mail Server. Again, some ESPs require full e-mail address ([email protected] Specify the following items. Troubleshoot common problems sending email through the Amazon SES Simple Mail Transfer Protocol (SMTP) interface. Finally, got sick of copy/pasting and decided to write a quick script. Any ideas? Warning: stream_socket. SendMailAsync( SmtpMail mail ) methods sends multiple emails in one SMTP connection session. Setup your TELUS. and also configured that by using these command -- 1. Before trying to use the Swift SMTP transport class, it's a good idea to run a. Parece que el problema es el certificado autofirmado, ya que está en su máquina local. com (Outlook Office 365). Create a new user account and password for the MFP on the mail server. Is there a free tool that will let me test SMTP server settings? Something where I can enter the SMTP server IP address, port, from address, to address, subject/body, credentials, etc. SendGrid is the leader in transactional email delivery. Send email through Amazon SES by using the SMTP interface. Username / Password: Turn on SMTP authentication and enter your account’s SMTP username and SMTP password. All TCP and UDP connections of a process can be monitored and full details regarding the. Sending via SMTP. Select Only the list below and then click Add. It's a good idea to send a test email to a third-party email address. Article ID: 52275 - Last Review: April 30, 2015 WHEN TO USE THIS PROCEDURE. Enter the domain\username and password in the fields provided. Now when i run the "Test Smtp server. "Unable to open connection to server. Troubleshooting SMTP Server Timeout in Thunderbird. Remember this is a BETA release not a stable release there still a lot of work to be done. In this article we would be solving one of the most widely searched issues and a potential SMTP connection pain point for the developers. Simple Mail Transfer Protocol (SMTP) is a protocol, which handles sending e-mail and routing e-mail between mail servers. com from the expert community at Experts Exchange Swift_TransportException - Connection could not be established with host smtp. Trust me they didn't forget it they probably didn't have the time as we were all exited to get our hands on it and because at the moment it was not important since this is just a BETA release to test things out and give back feed back on the overall system. Among them HELO, EHLO, MAIL, RCPT, DATA, QUIT are always implemented by all SMTP servers. com; Usando swiftmailer de php con gmail. Example Test-NetConnection Powershell to check a single port on a Web server. You`ll get something like this: EHLO domain. net if you're a Force9. -v is "verbose" body. Therefore I will not be maintaining this. net -Port 443. Send authenticated SMTP (auth-SMTP) over a TLS encrypted connection. SMTP used to be anonymous in its origins, with authentication implemented during its evolution. Article ID: 52275 - Last Review: April 30, 2015 WHEN TO USE THIS PROCEDURE. Welcome - Using an SMTP server as the transport for Swift Mailer is the most reliable method of sending an email. com s'adresse IPv4 est (ping smtp. And for an SSL server (where you connect to a different port number and have to establish an SSL connection before the SMTP conversation even starts) on IP address 1. If ok last line should be 250 OK, or something similar like in screenshot. It supports both open and secure (SSL) SMTP server connections and contains a built-in library of commands such as EHLO, DATA, RCPT TO, etc…. By default, Amazon EC2 throttles traffic on SMTP port 25 for all instances. Normal restart: press and hold power until you get the option to shut off, wait 30s for it to shut off, press and hold power until the Apple logo shows up again. Type/paste following commands 1-by-1. Smtp Er Smtp Er. If the connection times out, confirm that your local firewall rules, routes, and access control lists (ACLs) allow traffic on the SMTP port that you're using. This article covers a complete set of matching settings to use for each desired email configuration for our servers. In this conundrum, Telnet is widely used to test SMTP connection breaks. helo response should be as follows 250 OK. Use the tsm email command to view and test your SMTP configuration. An SMTP connection manager enables a package to connect to a Simple Mail Transfer Protocol (SMTP) server.