NeoX Posted May 30, 2006 Report Share Posted May 30, 2006 Sveiki! lai no PHP sūtītu meilus, takš vajag kaut kādu SMTP serveri/demonu??? Kurš labāks - vienkārš, ērtī konfigurējams? (uz Win platformas) Link to comment Share on other sites More sharing options...
ELs Posted May 30, 2006 Report Share Posted May 30, 2006 Uzmet aci šim brīnumam: http://poss.sourceforge.net/email/ Link to comment Share on other sites More sharing options...
Roze Posted May 31, 2006 Report Share Posted May 31, 2006 Uz win platformas vienkāršāk izmantot sava provaidera SMTP serveri (php.ini var norādīt). Link to comment Share on other sites More sharing options...
andrisp Posted May 31, 2006 Report Share Posted May 31, 2006 Es tā īsti neesmu sapratis - Linux vidē taču arī vajadzētu būt iespējai iekš php.ini norādīt smtp serveri, lai nav jāizmanto sendmail ? Link to comment Share on other sites More sharing options...
Roze Posted May 31, 2006 Report Share Posted May 31, 2006 Nu lielākoties visās *ix distribūcijās ir lokāls MTA (mail transport agent) kas idejiski ir labāk nekā gāzt pa taisno provaidera smtp, jo tādējādi nav iespējams noteikt vai e-pasts patiesībā aiziet un kas ar to notiek.. Link to comment Share on other sites More sharing options...
goldy Posted May 31, 2006 Report Share Posted May 31, 2006 ja PHP kompilācijas lakā, zem *ix, nav pieejams sendmail executable mail funkcijas nemaz nebūs iespējams pielikt, tātad varam secināt, ka vajag sendmail. praksē man arī neizdevās nekādīgi piedabūt PHP strādāt ar mail funkcijām kamēr nebija senmaila uz lokālās kastes no manuāļa: --- For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail wrappers that come with them. PHP will first look for sendmail in your PATH, and then in the following: /usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib. It's highly recommended to have sendmail available from your PATH. Also, the user that compiled PHP must have permission to access the sendmail binary. --- Link to comment Share on other sites More sharing options...
Roze Posted May 31, 2006 Report Share Posted May 31, 2006 Visiem man zināmajiem MTA (postfix, qmail utt) ir sendmail wraperis (kā jau tas ir rakstīts dokumentācija).. Aiz kam ja rupji kas tev liedz: touch sendmail un chmod +x sendmail ? Un ganjauka ka configure jutīsies laimīgs :) Link to comment Share on other sites More sharing options...
Recommended Posts