User Tools

Site Tools


mail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mail [2026/03/16 18:11] – created reddymail [2026/03/16 18:12] (current) reddy
Line 29: Line 29:
 ==== s-nail test ==== ==== s-nail test ====
  
 +<code>
 # Read email # Read email
 s-nail -f ./Maildir/ s-nail -f ./Maildir/
Line 34: Line 35:
 # Send email # Send email
 echo "Message body" | s-nail -s "Subject line" recipient@example.com echo "Message body" | s-nail -s "Subject line" recipient@example.com
 +</code>
  
 ==== curl test ==== ==== curl test ====
  
 +<code>
 printf 'Subject: Test email from curl\n\nTest.' | curl --url 'smtp://ARTSLOPMDB03.ar.sspad.ng' --mail-from 'artest@localhost' --mail-rcpt 'artest@localhost' -T - printf 'Subject: Test email from curl\n\nTest.' | curl --url 'smtp://ARTSLOPMDB03.ar.sspad.ng' --mail-from 'artest@localhost' --mail-rcpt 'artest@localhost' -T -
 +</code>
  
mail.txt · Last modified: by reddy

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki