«

»

Mar 14 2012

Linux’ta konsoldan eposta gönderirken Türkçe karakter sorunu

mail komutuna parametre olarak,  -a "Content-Type: text/plain; charset=ISO-8859-9" vermek yeterli. Örnek:

echo "$POSTA_GOVDE" | mail -a "Content-Type: text/plain; charset=ISO-8859-9" -s "$POSTA_KONU" $POSTA_ALICI

Bir Cevap Yazın

Bad Behavior has blocked 25 access attempts in the last 7 days.