/usr/sbin/sendmail -t -i
I know the -t argument tells Apache that email can be sent through php.
What does the -i argument do? And are there any more arguments worth knowing about?
One other I know of is -f myemail@example.com which is a sendmail from override.
-i This option, which has the same effect as -oi, specifies that a dot on a line by itself should not terminate an incoming,
non-SMTP message. I can find no documentation for this option in Solaris 2.4 Sendmail, but the mailx command in Solaris 2.4 uses
it. See also -ti.
Here`sa Complete Guide list of commands if you wanna go deep through sendmail commands.
COMPLETE LIST OF UNIX System Manager's Manual(SENDMAIL)
* As for your question : *
-i Ignore dots alone on lines by themselves in incoming mes-
sages. This should be set if you are reading data from a
file.
Simple sample sending of mail
**<input>**
# /usr/lib/sendmail -t - F 'Webmaster' -f 'webmaster@email.com'
**<output**
From: webmaster@email.com
To: user@someemail.com
Subject: Feedback Form
Hello World !
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.