Warning: Creating default object from empty value in /www/htdocs/finrik/blog/wp-includes/functions.php on line 292

Strict Standards: Only variables should be passed by reference in /www/htdocs/finrik/blog/wp-includes/gettext.php on line 66
www.finrik.at - Die persönliche Webseite von Wolfgang Hollaus
E-Mails versenden über msmtp

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/finrik/blog/wp-includes/functions-formatting.php on line 76

# pacman -S msmtp

# touch /etc/msmtprc

Datei bearbeiten:

account default
host mail.server.at
from user@server.at
auth login
user BENUTZER
password KENNWORT

syslog LOG_MAIL

# chmod 0600 /etc/msmtprc

Jetzt kann man den Befehl “msmtp” anstelle von “/usr/sbin/sendmail” verwenden. z.B. in der php.ini zum E-Mail versenden.

Comments are closed.