Hi,
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.
Code:
#!/bin/bash
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?
Thanks.