[ubuntu] Cannot send email with sendemail

view story

http://ubuntuforums.org – I am a newbie and have a few questions. If I send an email through my gmail account I get the following error message: Code: server sendmail [15257]: ERROR => ERROR => SMTP-AUTH: Authentication to smtp.gmail.com: 25 failed. How do I send an e-mail: Code: sendEmail -f [email protected] -t [email protected] -u "Message title" -m "The body of the message" -s smtp.gmail.com:25 -xu username -xp password Should I replace [email protected] with my own email address and [email protected] with that of the recipient? And what do I fill in at: -xu use (Hardware)