January 2022

SMTP server telnet connection refused on Linux?

I was testing the WP Mail SMTP plugin to send emails in WordPress via SMTP servers but when it was trying to connect to the remote SMTP server, it kept getting error “Connection refused”. So I tried: telnet smtp.xxxx.com 587 To test the connection. Turned out my own server is preventing the outgoing request because …

SMTP server telnet connection refused on Linux? Read More »

Office365 SMTP Send Emails as Shared Mailbox via smtp.office365.com

Go to Office.com admin center > Users > Active users. Create a standalone user for the purpose of SMTP authentication, e.g. [email protected] with password XXYYZZ112233, as you don’t want to give the password of your existing users to apps (e.g. WordPress) that need to access your SMTP. Edit the created account enabling SMTP authentication by …

Office365 SMTP Send Emails as Shared Mailbox via smtp.office365.com Read More »

When to use NoSQL (e.g. MongoDB) and when to use SQL (e.g. MySQL)?

NoSQL is mostly about document databases while SQL is about relational databases. NoSQL vs. SQL Documents vs. Tables MongoDB vs. MySQL Property vs. Entity The trick is 4: Property vs. Entity Design your data models on a piece of paper. Use MongoDB if … If you see more trivial *entities* such as category, tag, brand, …

When to use NoSQL (e.g. MongoDB) and when to use SQL (e.g. MySQL)? Read More »

Scroll to Top