Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

smtp

Sending mail from Python using SMTP

August 15, 2022 by Magenaut

I’m using the following method to send mail from Python using SMTP. Is it the right method to use or are there gotchas I’m missing ?

Categories Python, Q&A Tags python, smtp Leave a comment

Trying to send multiple text attachments via mail message

August 8, 2022 by Magenaut

Running this script on: “Red Had Enterprise Linux Server release 5.11 (Tikanga)”

Categories Q&A, Unix & Linux Tags bash, mail-command, shell-script, smtp Leave a comment

How to “close” open ports?

August 7, 2022 by Magenaut

A few days ago I started to care a lot about my data security, I end up nmaping myself with: nmap 127.0.0.1

Categories Q&A, Unix & Linux Tags cups, nmap, security, smtp Leave a comment

Postfix: disable authentication through port 25

August 6, 2022 by Magenaut

When using Postfix and IMAP on a mailserver, at least 3 ports are usually opened

Categories Q&A, Unix & Linux Tags imap, postfix, sasl, smtp Leave a comment

How to set SMTP programmatically

August 4, 2022August 3, 2022 by Magenaut

Assume we have blank WP site and we want to setup SMTP settings programmatically in our plugin or theme. What’s the easiest way to do it without changing core files?

Categories Q&A, Wordpress Tags email, phpmailer, smtp, wp-mail Leave a comment
Newer posts
← Previous Page1 Page2 Page3
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress