echo “This is the main body of the mail” | mail -s “Subject of the Email” -a “From: test@iot-parts.com” manish.kolikata@gmail.com telnet iot-parts.com 25 mailMAIL FROM:root@iot-parts.com RCPT TO:manish.kolikata@gmail.com DATA telnet localhost 143 a login “username” “password” Test using imaps port (assuming you haven’t disabled imaps port): # openssl s_client -connect imap.example.com:993 Test using imap port and… Continue reading Testing mail from commandline
Month: April 2018
Protected: Install Mumb1e Admin
Protected: Postix and Dovecot Settings for SMTP mail sending
Very Good Guide on Setting up DKIM
WP Code Highlight – gives preg_replace error
With updated PHP version WP Code Highlight – gives preg_replace error. Do the following. Remove the “e” from /ise return preg_replace_callback(“/<pre(.*?)>(.*?)<\/pre>/is”, function($m){ return “<pre class=’wp-code-highlight prettyprint$line_numbers’>”.wch_stripslashes($m[2]).”</pre>”; }, $content);