Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

send email from terminal php

# must have `sendmail` installed first
php -a
mail ('papa@hostpapa.com', "Test subject", "This is our test message");
 
PREVIOUS NEXT
Tagged: #send #email #terminal #php
ADD COMMENT
Topic
Name
9+1 =