Versende ich eine Email über:
mail("empfaenger@provider.de",$betreff,$nachricht,"From:test@test.de");
wird die Nachricht mit übergroßen Absätzen versandt. Also keine normalen Zeilensprünge sondern bei einem Absatz werden gleich 2 eingefügt usw.
Wodran liegt das ?
zuviele Absätze beim mail() Befehl
Re: zuviele Absätze beim mail() Befehl
s/rn/n/
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: zuviele Absätze beim mail() Befehl
Und was soll mir das jetzt sagen ?
Re: zuviele Absätze beim mail() Befehl
substitute return newline with newline
Re: zuviele Absätze beim mail() Befehl
Das heißt, dass Du rn durch n ersetzen sollst...
Re: zuviele Absätze beim mail() Befehl
Ich habe das Problem gelöst mit:
str_replace("n","",$nachricht);
str_replace("n","",$nachricht);
Re: zuviele Absätze beim mail() Befehl
Warum nicht gleich richtig?
Code: Select all
str_replace("rn","n",$nachricht);PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
