<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SMTP token in Swift mailer in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/269622#M24345</link>
    <description>&lt;P&gt;Thank you for all this information,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90857"&gt;@PiotrM&lt;/a&gt;. I'll dig in further with my team!&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2019 19:03:38 GMT</pubDate>
    <dc:creator>IsaacTakushi</dc:creator>
    <dc:date>2019-05-10T19:03:38Z</dc:date>
    <item>
      <title>SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/262372#M23432</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to use SMTP API token (user name and password) in Swift mailer settings to send an emails from my website?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 10:05:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/262372#M23432</guid>
      <dc:creator>PiotrM</dc:creator>
      <dc:date>2019-04-01T10:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/262740#M23481</link>
      <description>&lt;P&gt;Welcome,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90857"&gt;@PiotrM&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes. According to &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Getting-a-quot-502-5-5-1-Unrecognized-command-quot-from-the-SMTP/td-p/231707" target="_self"&gt;this post&lt;/A&gt;, other users have successfully sent transactional emails through &lt;A href="https://swiftmailer.symfony.com/" target="_self"&gt;SwiftMailer&lt;/A&gt;&amp;nbsp;using HubSpot SMTP API tokens.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:33:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/262740#M23481</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-04-02T16:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/264839#M23664</link>
      <description>&lt;P&gt;Hi Issac,&lt;/P&gt;&lt;P&gt;Thank you for your feedback, unfortunatelly I had no luch with it. Swift Mailer throws me an error message: Connection could not be established with host smtp.hubapi.com. Any idea what could be the reson?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 13:54:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/264839#M23664</guid>
      <dc:creator>PiotrM</dc:creator>
      <dc:date>2019-04-12T13:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/265493#M23725</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90857"&gt;@PiotrM&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have any ideas at the moment, but let's try to dig in further.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Per &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Getting-a-quot-502-5-5-1-Unrecognized-command-quot-from-the-SMTP/td-p/231707" target="_self"&gt;the other post&lt;/A&gt;:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Can you use the &lt;A href="https://swiftmailer.symfony.com/docs/plugins.html" target="_self"&gt;Logger plugin for SwiftMailer&lt;/A&gt; to obtain a log of the SMTP exchange?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Would you share a sample snippet of code so we know how you’re configuring SwiftMailer?&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 16 Apr 2019 21:09:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/265493#M23725</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-04-16T21:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/268853#M24246</link>
      <description>&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply and sorry for my late feedback. I was able to add logger plugin and this is what I get in the log now:&lt;/P&gt;&lt;PRE&gt;++ Starting Swift_SmtpTransport
!! Connection could not be established with host smtp.hubapi.com [ #0] (code: 0)&lt;/PRE&gt;&lt;P&gt;so for some reason I can't connect to smtp.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 15:43:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/268853#M24246</guid>
      <dc:creator>PiotrM</dc:creator>
      <dc:date>2019-05-07T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/269153#M24293</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90857"&gt;@PiotrM&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing that. Unfortunately,&amp;nbsp; I don't think it gets us any closer to a solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Per &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Getting-a-quot-502-5-5-1-Unrecognized-command-quot-from-the-SMTP/m-p/231711/highlight/true#M10607" target="_self"&gt;this post&lt;/A&gt; in the other thread, could you share a snippet of the code you're using to configure SwiftMailer? Also, could you confirm the version you're using?&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 20:48:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/269153#M24293</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-05-08T20:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/269226#M24302</link>
      <description>&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again thank you for your help. The appication we develope is build with Drupal 8. To send an email we use Swift Mailer module (&lt;A href="https://www.drupal.org/project/swiftmailer" target="_blank"&gt;https://www.drupal.org/project/swiftmailer&lt;/A&gt;) and it works fine when I use google smtp for example. This is the module function that sends an email and bellow values of the variables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public function mail(array $message) {
    try {

      // Create a new message.
      $m = Swift_Message::newInstance();

      // Not all Drupal headers should be added to the e-mail message.
      // Some headers must be suppressed in order for Swift Mailer to
      // do its work properly.
      $suppressable_headers = swiftmailer_get_supressable_headers();

      // Keep track of whether we need to respect the provided e-mail
      // format or not.
      $respect_format = $this-&amp;gt;config['message']['respect_format'];

      // Process headers provided by Drupal. We want to add all headers which
      // are provided by Drupal to be added to the message. For each header we
      // first have to find out what type of header it is, and then add it to
      // the message as the particular header type.
      if (!empty($message['headers']) &amp;amp;&amp;amp; is_array($message['headers'])) {
        foreach ($message['headers'] as $header_key =&amp;gt; $header_value) {

          // Check wether the current header key is empty or represents
          // a header that should be suppressed. If yes, then skip header.
          if (empty($header_key) || in_array($header_key, $suppressable_headers)) {
            continue;
          }

          // Skip 'Content-Type' header if the message to be sent will be a
          // multipart message or the provided format is not to be respected.
          if ($header_key == 'Content-Type' &amp;amp;&amp;amp; (!$respect_format || swiftmailer_is_multipart($message))) {
            continue;
          }

          // Get header type.
          $header_type = Conversion::swiftmailer_get_headertype($header_key, $header_value);

          // Add the current header to the e-mail message.
          switch ($header_type) {
            case SWIFTMAILER_HEADER_ID:
              Conversion::swiftmailer_add_id_header($m, $header_key, $header_value);
              break;

            case SWIFTMAILER_HEADER_PATH:
              Conversion::swiftmailer_add_path_header($m, $header_key, $header_value);
              break;

            case SWIFTMAILER_HEADER_MAILBOX:
              Conversion::swiftmailer_add_mailbox_header($m, $header_key, $header_value);
              break;

            case SWIFTMAILER_HEADER_DATE:
              Conversion::swiftmailer_add_date_header($m, $header_key, $header_value);
              break;

            case SWIFTMAILER_HEADER_PARAMETERIZED:
              Conversion::swiftmailer_add_parameterized_header($m, $header_key, $header_value);
              break;

            default:
              Conversion::swiftmailer_add_text_header($m, $header_key, $header_value);
              break;

          }
        }
      }

      // Set basic message details.
      Conversion::swiftmailer_remove_header($m, 'From');
      Conversion::swiftmailer_remove_header($m, 'To');
      Conversion::swiftmailer_remove_header($m, 'Subject');

      // Parse 'from' and 'to' mailboxes.
      $from = Conversion::swiftmailer_parse_mailboxes($message['from']);
      $to = Conversion::swiftmailer_parse_mailboxes($message['to']);

      // Set 'from', 'to' and 'subject' headers.
      $m-&amp;gt;setFrom($from);
      $m-&amp;gt;setTo($to);
      $m-&amp;gt;setSubject($message['subject']);

      // Get applicable format.
      $applicable_format = $this-&amp;gt;getApplicableFormat($message);

      // Get applicable character set.
      $applicable_charset = $this-&amp;gt;getApplicableCharset($message);

      // Set body.
      $m-&amp;gt;setBody($message['body'], $applicable_format, $applicable_charset);

      // Add alternative plain text version if format is HTML and plain text
      // version is available.
      if ($applicable_format == SWIFTMAILER_FORMAT_HTML &amp;amp;&amp;amp; !empty($message['plain'])) {
        $m-&amp;gt;addPart($message['plain'], SWIFTMAILER_FORMAT_PLAIN, $applicable_charset);
      }

      // Validate that $message['params']['files'] is an array.
      if (empty($message['params']['files']) || !is_array($message['params']['files'])) {
        $message['params']['files'] = array();
      }

      // Let other modules get the chance to add attachable files.
      $files = $this-&amp;gt;moduleHandler-&amp;gt;invokeAll('swiftmailer_attach', array('key' =&amp;gt; $message['key'], 'message' =&amp;gt; $message));
      if (!empty($files) &amp;amp;&amp;amp; is_array($files)) {
        $message['params']['files'] = array_merge(array_values($message['params']['files']), array_values($files));
      }

      // Attach files.
      if (!empty($message['params']['files']) &amp;amp;&amp;amp; is_array($message['params']['files'])) {
        $this-&amp;gt;attach($m, $message['params']['files']);
      }

      // Attach files (provide compatibility with mimemail)
      if (!empty($message['params']['attachments']) &amp;amp;&amp;amp; is_array($message['params']['attachments'])) {
        $this-&amp;gt;attachAsMimeMail($m, $message['params']['attachments']);
      }

      // Embed images.
      if (!empty($message['params']['images']) &amp;amp;&amp;amp; is_array($message['params']['images'])) {
        $this-&amp;gt;embed($m, $message['params']['images']);
      }

      static $mailer;

      // If required, create a mailer which will be used to send the message.
      if (empty($mailer)) {

        // Get the configured transport type.
        $transport_type = $this-&amp;gt;config['transport']['transport'];

        // Configure the mailer based on the configured transport type.
        switch ($transport_type) {
          case SWIFTMAILER_TRANSPORT_SMTP:
            // Get transport configuration.
            $host = $this-&amp;gt;config['transport']['smtp_host'];
            $port = $this-&amp;gt;config['transport']['smtp_port'];
            $encryption = $this-&amp;gt;config['transport']['smtp_encryption'];
            $username = $this-&amp;gt;config['transport']['smtp_username'];
            $password = $this-&amp;gt;config['transport']['smtp_password'];

            // Instantiate transport.
            $transport = Swift_SmtpTransport::newInstance($host, $port);
            $transport-&amp;gt;setLocalDomain('[127.0.0.1]');

            // Set encryption (if any).
            if (!empty($encryption)) {
              $transport-&amp;gt;setEncryption($encryption);
            }

            // Set username (if any).
            if (!empty($username)) {
              $transport-&amp;gt;setUsername($username);
            }

            // Set password (if any).
            if (!empty($password)) {
              $transport-&amp;gt;setPassword($password);
            }

            $mailer = Swift_Mailer::newInstance($transport);
            break;

          case SWIFTMAILER_TRANSPORT_SENDMAIL:
            // Get transport configuration.
            $path = $this-&amp;gt;config['transport']['sendmail_path'];
            $mode = $this-&amp;gt;config['transport']['sendmail_mode'];

            // Instantiate transport.
            $transport = Swift_SendmailTransport::newInstance($path . ' -' . $mode);
            $mailer = Swift_Mailer::newInstance($transport);
            break;

          case SWIFTMAILER_TRANSPORT_NATIVE:
            // Instantiate transport.
            $transport = Swift_MailTransport::newInstance();
            $mailer = Swift_Mailer::newInstance($transport);
            break;

          case SWIFTMAILER_TRANSPORT_SPOOL:
            // Instantiate transport.
            $spooldir = $this-&amp;gt;config['transport']['spool_directory'];
            $spool = new Swift_FileSpool($spooldir);
            $transport = Swift_SpoolTransport::newInstance($spool);
            $mailer = Swift_Mailer::newInstance($transport);
            break;
        }
      }

      // Send the message.
      Conversion::swiftmailer_filter_message($m);
      return $mailer-&amp;gt;send($m);
    }
    catch (Exception $e) {

      $headers = !empty($m) ? $m-&amp;gt;getHeaders() : '';
      $headers = !empty($headers) ? nl2br($headers-&amp;gt;toString()) : 'No headers were found.';
      $this-&amp;gt;logger-&amp;gt;error(
        'An attempt to send an e-mail message failed, and the following error
        message was returned : @exception_message&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The e-mail carried
        the following headers:&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;@headers',
        array('@exception_message' =&amp;gt; $e-&amp;gt;getMessage(), '@headers' =&amp;gt; $headers));
      drupal_set_message(t('An attempt to send an e-mail message failed.'), 'error');
    }
  }&lt;/PRE&gt;&lt;P&gt;$host = smtp.hubapi.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$port = 587&lt;/P&gt;&lt;P&gt;$encryption = SSL&lt;/P&gt;&lt;P&gt;$username: generated token username&lt;/P&gt;&lt;P&gt;$password = generated token password&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 07:41:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/269226#M24302</guid>
      <dc:creator>PiotrM</dc:creator>
      <dc:date>2019-05-09T07:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/269622#M24345</link>
      <description>&lt;P&gt;Thank you for all this information,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90857"&gt;@PiotrM&lt;/a&gt;. I'll dig in further with my team!&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 19:03:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/269622#M24345</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-05-10T19:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/272253#M24684</link>
      <description>&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;Have you got a chance to look into this? I got stucked with it.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 14:19:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/272253#M24684</guid>
      <dc:creator>PiotrM</dc:creator>
      <dc:date>2019-05-28T14:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/272356#M24693</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90857"&gt;@PiotrM&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's good to hear from you. Sincere apologies&amp;nbsp;— I let this message fall through the cracks and have yet to investigate.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I'll make this a priority tomorrow and get back to you as soon as I have additional information.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 20:53:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/272356#M24693</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-05-28T20:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/272730#M24760</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90857"&gt;@PiotrM&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that you're setting&amp;nbsp;&lt;CODE&gt;$port = 587&lt;/CODE&gt; and &lt;CODE&gt;$encryption = SSL&lt;/CODE&gt;. Would you mind trying the following combinations and let me know if either work?&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;CODE&gt;$port = 587&lt;/CODE&gt; and &lt;CODE&gt;$encryption = TLS&lt;/CODE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;$port = 465&lt;/CODE&gt;&amp;nbsp;and &lt;CODE&gt;$encryption = SSL&lt;/CODE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 21:12:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/272730#M24760</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-05-30T21:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/273635#M24871</link>
      <description>&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;Than you for your help, switching port and enription type solved the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 13:17:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/273635#M24871</guid>
      <dc:creator>PiotrM</dc:creator>
      <dc:date>2019-06-05T13:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/273636#M24872</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/90857"&gt;@PiotrM&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm glad to hear that! Which combination did you use?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 13:18:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/273636#M24872</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-06-05T13:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP token in Swift mailer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/619770#M52565</link>
      <description>&lt;P&gt;For future reference:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TCP with port 25 doesn't work as of today (&lt;SPAN&gt;Connection timed out&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;TLS with port 587 doesn't work as of today (&lt;SPAN&gt;Expected response code 220 but got an empty response)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SSL with port 465 works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be good to see that reflected somewhere in the documentation or when setting the tokens&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:24:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/SMTP-token-in-Swift-mailer/m-p/619770#M52565</guid>
      <dc:creator>pawel-trauth</dc:creator>
      <dc:date>2022-04-21T14:24:05Z</dc:date>
    </item>
  </channel>
</rss>

