Moving to SymfonyMailer
After I moved from current Mailer to SymfonyMailer for mail sending, I've occured a problem with AWS parameters on staging and prod.
Locally with mailcatcher it works as supposed, but when I deploy it to STAGE and try I get this:
```
Symfony\Component\Mailer\Exception\TransportException - Connection could not be established with host "ssl://email-smtp.eu-central-1.amazonaws.com:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:0A00010B:SSL routines::wrong version number
```
I managed to work around it with setting a SMT_ENCRYPTION to empty string, but I am interested what is the proper way and what am I missing?
Comments
-
IIRC when moving to SymfonyMailer the port needed to be changed (by Spryker support) to 465
5 -
Hey Mikko, thanks for the answer. I figured it out in the last week, but forgot to post it here. Indeed, that was the exact solution. I appreciate it.
1 -
yep, we also had to figure this out, changing the port also solved it for us.
Maybe Spryker infra/Docker Sdk should be more aware of those things? (and feature migration doc as well, of course!)0 -
I think yes, it's not so nice when you have to figure out is it a wrong implementation or something else. This sounds like a straightforward thing to be done, and it could be included in the documentation, somewhere. Especially when you need to update Spryker environment variable which you can't do on your own, it does make sense that you are aware of that.
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 ⚖️ - Guardians (admin)
Heyhey,
I am glad to see how well you helped out each other! 💪
I forwarded the feedback of the missing information to the dedicated team - I totally get your point!
All the best,
Florian
1
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 68 Spryker News
- 890 Developer Corner
- 753 Spryker Development
- 83 Spryker Dev Environment
- 360 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 22 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random