Ik ben wat aan het testen met "sendEmail"
Het kommando
sendEmail -f henk@oegema.com -t henkoegema@gmail.com -u "Message test" -m "Dit is een test" -s smtp.gmail.com:25 -xu username -xp password
werkt goed op m'n pc met Ubuntu 14.04
.
Op m'n RaspberryPi (Raspbian), krijg ik:
pi@raspberrypi ~ $ sendEmail -f henk@oegema.com -t henkoegema@gmail.com -u "Message test" -m "Dit is een test" -s smtp.gmail.com:25 -xu username -xp password
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "nl_NL.UTF-8",
LC_ADDRESS = "nl_NL.UTF-8",
LC_MONETARY = "nl_NL.UTF-8",
LC_NUMERIC = "nl_NL.UTF-8",
LC_TELEPHONE = "nl_NL.UTF-8",
LC_IDENTIFICATION = "nl_NL.UTF-8",
LC_MEASUREMENT = "nl_NL.UTF-8",
LC_TIME = "nl_NL.UTF-8",
LC_NAME = "nl_NL.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Mar 18 18:04:00 raspberrypi sendEmail[2334]: ERROR => Timeout while connecting to smtp.gmail.com:25 There was no response after 60 seconds.
en dan werkt het niet.
Ik heb toen de file "/etc/default/locale" over gezet van m'n Ubuntu naar de RPi, maak ook dat helpt niet.
Wie kan mij helpen?