Body: <p>Ok I'm running Mamp pro 3.0.5 for my localhost setup and php 5.3.28 and for the life of me, I can't get my localhost setup to send out emails.</p>
  
  <p>My host name is <strong>smtp.postmarkapp.com</strong>
  My <strong>username</strong> and <strong>password</strong> are my API key as specified by postmarkapp. I've tried port on both 25 and 2525, Use SMTP authentication is set to yes and SMTP Secure Transport Type is set to none.</p>
  
  <p>When I run a test email through the admin panel I see <strong>SMTP connect() failed.</strong></p>
  
  <p>Note: emails send out correct on our dev/production servers without issue.</p>
  
  <p>Anyone have ideas here?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-30T04:41:58.720Z
Comments.Text: Any warning or errors getting logged in your craft/storage/runtime/logs files?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-30T15:34:44.590Z
Comments.Text: @BradBell - yep "2014/07/30 04:16:24 [error] [application] SMTP connect() failed."
Comments.UserDisplayName: Adam McCombs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-30T15:36:02.287Z
Comments.Text: Sounds like purely a connection problem. Can you connect with those credentials on an email client or through the CLI?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-30T16:00:11.643Z
Comments.Text: telnet localhost 25
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  220 mailer.smtp.postmarkapp.com ESMTP Postfix
  EHLO Adam
  250-mailer.smtp.postmarkapp.com
  250-PIPELINING
  250-SIZE 10240000
  250-VRFY
  250-ETRN
  250-ENHANCEDSTATUSCODES
  250-8BITMIME
  250-DSN
  250-BINARYMIME
  250 CHUNKING
  AUTH LOGIN
  503 5.5.1 Error: authentication not enabled
  421 4.4.2 mailer.smtp.postmarkapp.com Error: timeout exceeded
  Connection closed by foreign host.
Comments.UserDisplayName: Adam McCombs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-30T16:03:30.307Z
Comments.Text: @BradBell so it looks like it's connecting but when I tried auth login it says authentication not enabled.
  
  These same settings work correctly on our live servers. I'm only having an issue on my localhost.
Comments.UserDisplayName: Adam McCombs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-07-30T16:34:31.943Z
Comments.Text: Not really sure what's going on.  Maybe contact PostMark and see if they have any ideas?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-12T20:52:48.367Z
Comments.Text: You ever figure this one out, Adam?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-12T22:10:40.677Z
Comments.Text: @BradBell no. I can only assume it's config thing with my laptop as my iMac has no problem sending localhost mail. It's the same setup too! I'll probably just nuke it and start over one day.
Comments.UserDisplayName: Adam McCombs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-18T19:19:01.363Z
Comments.Text: I'm closing this because it doesn't sound like a Craft related problem.
Comments.UserDisplayName: Anna_MediaGirl
Tags: <emails>
Title: Craft SMTP emails + Localhost [Mamp pro] (+postmarkapp)
ThreadText: # Craft SMTP emails + Localhost [Mamp pro] (+postmarkapp)
  
  (Asked by: username_0 on 2014-07-30)
  
  Ok I'm running Mamp pro 3.0.5 for my localhost setup and php 5.3.28 and for the life of me, I can't get my localhost setup to send out emails.
  
  My host name is **smtp.postmarkapp.com**
  My **username** and **password** are my API key as specified by postmarkapp. I've tried port on both 25 and 2525, Use SMTP authentication is set to yes and SMTP Secure Transport Type is set to none.
  
  When I run a test email through the admin panel I see **SMTP connect() failed.**
  
  Note: emails send out correct on our dev/production servers without issue.
  
  Anyone have ideas here?
  
  **Tags:** emails
  
  > **Comments:**
  > **username_1**: Any warning or errors getting logged in your craft/storage/runtime/logs files?  
  > **username_0**: @username_1 - yep "2014/07/30 04:16:24 [error] [application] SMTP connect() failed."  
  > **username_1**: Sounds like purely a connection problem. Can you connect with those credentials on an email client or through the CLI?  
  > **username_0**: telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mailer.smtp.postmarkapp.com ESMTP Postfix EHLO username_0 250-mailer.smtp.postmarkapp.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250-BINARYMIME 250 CHUNKING AUTH LOGIN 503 5.5.1 Error: authentication not enabled 421 4.4.2 mailer.smtp.postmarkapp.com Error: timeout exceeded Connection closed by foreign host.  
  > **username_0**: @username_1 so it looks like it's connecting but when I tried auth login it says authentication not enabled.  These same settings work correctly on our live servers. I'm only having an issue on my localhost.  
  > **username_1**: Not really sure what's going on.  Maybe contact PostMark and see if they have any ideas?  
  > **username_1**: You ever figure this one out, username_0?  
  > **username_0**: @username_1 no. I can only assume it's config thing with my laptop as my iMac has no problem sending localhost mail. It's the same setup too! I'll probably just nuke it and start over one day.  
  > **username_2**: I'm closing this because it doesn't sound like a Craft related problem.  
  
  ---
  
  ## 0 answers
  
  