PHP Question

Fanis Dokianakis madf at hellug.gr
Thu Oct 11 16:36:01 EEST 2001


On Thu, Oct 11, 2001 at 12:25:25PM +0300, Kekes Stamatis wrote:
>  Mipos kaneis exei asxolithei me to na steilei mail me PHP ??
>  Antimetopizo to eksis provlima:
> 
>  Se ena RH 7.1 em sendmail otan trexei ena PHP module pou stelnei ena
> e-Mail xrisimopoiei ton topiko sendmail gia na steilei to e-Mail kai
> fysika den einai aytos o mail server mou kai apotygxanei patagodos. Apo
> oso eida sta logs steleni e-Mail san
> "From:nobody at loccalhost.localdomain" kai ayto apo oso katalavaino to
> nobody to pairnei giati o apache trexei os nobody alla omos ego thelo na
> xrisimopoiiso allon mail server.
>  To exei kanei pote kaneis xrisimopoiontas tin mail() ??
>
i mail() sintasete os exeis

mail ( $recipients, $subject, $topic, $message [, $extra_headers] );

nomizo oti thes na oriseis sto pempto orisma kati san "From: mplampla at mpla.gr"

i "From: mplampla at mpla.gr\nContent-Type: text/plain ; charset=iso8858-7"

Vasika oti mail header xreiazese mporeis na ton topothetiseis ekei.

Fanis.



More information about the Linux-greek-users mailing list