Fedora iTOps Tube

Monday, May 14, 2012

using mailx problem


I am using Fedora 13, and postfix is running. I want to sent email to my yahoo or gmail account by using mailx. I tried this but I could not receive any mail.



subject = "Hello"

to = "mymail@yahoo.com"

message = "/tmp/message.txt"

echo "This is an test email message"> $message

/bin/mailx -s "$subject" "$to"

I also tried by running sendmail but still same problem.

Any help?


No comments:

Post a Comment