Hello,
I put this:
Code:
env MAILRC=/dev/null from="alsu@yahoo.com" smtp=smtp.server_address.com \
smtp-auth-user=alsu@yahoo.com smtp-auth-password=password\
smtp-auth=login nail -n -s "subject" \
-a attachment_file dest_address@yahoo.com
in my .profile file and I wrote this at the command line:
Code:
$nail
Subject : sub
mail text mail text
ctrl+d
The destination email address doesn't get the mail.
I get undelivered mail which says :
delivery temporarily suspended: connect to b.mx.mail.yahoo.com[66.196.97.250]: Connection timed out
I also tried to put the configuration in the .bashrc file instead of the .profile file , but it still doesn't work . Does anyone know why ?