Linux

[LINUX] Sending email with CURL

Check if port (25 is used for example) is opened.

Example of command to send e-mail using curl. More parameters and information can be found here: https://everything.curl.dev/usingcurl/smtp

Creating Example.txt (using vi editor).

An example of (Example.txt)

[LINUX] Send email using netcat (NC) – Linux

nc -C mail.domain.com 25 HELO senderdomain.com MAIL FROM:sender@example.org RCPT TO:rcpt@example.com DATA From: sender@example.org To: rcpt@example.com Subject: subject example Date: Fri, 10 Jan 2019 12:00:00 +0000 . QUIT