Link to home
Start Free TrialLog in
Avatar of xenia27
xenia27Flag for Taiwan, Province of China

asked on

Linux mail

Hi,


How can I send mail?  I try to write a program to detect some machine, and when there is an error happened, I would like to send mail...how can I do so?  Is there any api I can use to send mail through my program??  Help~~~~~



Xenia
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xenia27

ASKER

so I can call mailx, sendmail, or mutt in my codes??
Avatar of yuzh
yuzh

Yes, mailx, sendmail comes with the default installation, but "mutt" is an add-on
package. if you are using mutt, you need to make sure mutt is installed the box to
run your program, otherwise it will not work!
Avatar of xenia27

ASKER

OK...now I got some sense to write the program...thanks~