I am trying to send an rmail with sendemail. installed via macports. What is wrong in the following and how do I go about fixing it?
bash-3.2$ sendemail -f [email protected] -u files -m message -t [email protected] -s smtp.gmail.com -a ~/temp/folder/*pdf
Jan 31 01:49:43 mycomp sendemail[10391]: ERROR => Connection attempt to smtp.gmail.com:25 failed: IO::Socket::INET: connect: Connection refused