send_email
Moderatori: Zamolxe, Moderatori
Foloseste mai multe metode la alegere. De la functia mail (dar nu are rost sa setati aceasta metoda pentru ca nu mai beneficiati de avantajele PHPMailer) pina la SMPT.
Daca alegeti SMPT conectarea la serverul de mail se face via fsockopen() deci nu are nici o legatura cu functia mail().
Folosesc PHPMailer pe un numar de peste 100 de situri gazduite pe aproximativ 30 de servere diferite si n-am avut niciodata probleme. Lucru care nu-l pot spune despre functia mail()...
Aveti o lista scurta cu ce poate PHPMailer:
- Can send emails with multiple TOs, CCs, BCCs and REPLY-TOs
- Redundant SMTP servers
- Multipart/alternative emails for mail clients that do not read HTML email
- Support for 8bit, base64, binary, and quoted-printable encoding
- Uses the same methods as the very popular AspEmail active server (COM) component
- SMTP authentication
- Word wrap
- Address reset functions
- HTML email
- Tested on multiple SMTP servers: Sendmail, qmail, Postfix, Imail, Exchange, etc
- Works on any platform
- Flexible debugging
- Custom mail headers
- Multiple fs, string, and binary attachments (those from database, string, etc)
- Embedded image support
Daca alegeti SMPT conectarea la serverul de mail se face via fsockopen() deci nu are nici o legatura cu functia mail().
Folosesc PHPMailer pe un numar de peste 100 de situri gazduite pe aproximativ 30 de servere diferite si n-am avut niciodata probleme. Lucru care nu-l pot spune despre functia mail()...
Aveti o lista scurta cu ce poate PHPMailer:
- Can send emails with multiple TOs, CCs, BCCs and REPLY-TOs
- Redundant SMTP servers
- Multipart/alternative emails for mail clients that do not read HTML email
- Support for 8bit, base64, binary, and quoted-printable encoding
- Uses the same methods as the very popular AspEmail active server (COM) component
- SMTP authentication
- Word wrap
- Address reset functions
- HTML email
- Tested on multiple SMTP servers: Sendmail, qmail, Postfix, Imail, Exchange, etc
- Works on any platform
- Flexible debugging
- Custom mail headers
- Multiple fs, string, and binary attachments (those from database, string, etc)
- Embedded image support
-
Cosmin Chiru
- Senior Member
- Mesaje: 251
- Membru din: Joi Apr 19, 2007 3:44 pm
Am citit install guide-ul. Tre sa editez php.ini... yeah right... not today...
Am SMTP pe host si nici nu tre autentificare la el (fol alt script pe server care trimite mail prin SMTP perfect).
Eu ziceam de functia respectiva de mai sus, ce ar trebui editat/adaugat la ea sa trimita si pe yahoo, atat.
Am SMTP pe host si nici nu tre autentificare la el (fol alt script pe server care trimite mail prin SMTP perfect).
Eu ziceam de functia respectiva de mai sus, ce ar trebui editat/adaugat la ea sa trimita si pe yahoo, atat.
-
luciansabo
- Junior Member
- Mesaje: 49
- Membru din: Dum Ian 04, 2004 2:06 pm
Functia mail din PHP foloseste fie sendmail, fie un smtp relay.
PHPMailer face cam acelasi lucru, numai ca suporta in mod direct si qmail si autentificare SMTP.
void IsMail ()
void IsQmail ()
void IsSendmail ()
void IsSMTP ()
Deci ca metoda de transmitere nu sunt diferente. Ambele folosesc la baza smtp sau sendmail. Nu se pune problema ca PHPMailer trimite mai bine.
PHPMailer este o clasa dedicata, si este normal sa aiba unele avantaje legate de implementare. Eu folosesc PHPMailer fiindca nu depind de configuratia serverului. Oricand pot schimba modalitatea de transmitere din script... nu fiecare data am acces la php.ini sau nu mereu pot folosi un relay server ori sendmail.
Eu am avut probleme mari cu PHPMailer fiindca se opreste la prima eroare SMTP in loc sa continue procesarea. Daca stii cum sa setezi serverul mai degraba vei avea probleme cu phpmailer decat cu mail().
Recomand Swift Mailer.
Features
Persistent connectivity improves performance
Connection types selected by user - extendable
Complete header control with RFC 2822 requirements handled
Internationalization support (i18n)
Connection redundancy support
Load balancing and/or throttling support
SSL & TLS Support - for Gmail servers
Embedded images or other file types
Full MIME 1.0 library included (create multipart messages, attachments etc)
Batch mail processing
Smart runtime caching (in small, self-maintained packets)
Send attachments of any size even with PHP's 8MB Memory Limit
Support for multiple attachments
Lossless protection against header injection (encode, don't strip)
Set message priority
Request read receipts
Pluggable SMTP authentication (LOGIN, PLAIN, MD5-CRAM, POP Before SMTP)
Anti-flooding support for servers with limits on emails-per-connection
Bandwidth monitor included
Extensive event-driven plugin support (easy to write)
PHPMailer face cam acelasi lucru, numai ca suporta in mod direct si qmail si autentificare SMTP.
void IsMail ()
void IsQmail ()
void IsSendmail ()
void IsSMTP ()
Deci ca metoda de transmitere nu sunt diferente. Ambele folosesc la baza smtp sau sendmail. Nu se pune problema ca PHPMailer trimite mai bine.
PHPMailer este o clasa dedicata, si este normal sa aiba unele avantaje legate de implementare. Eu folosesc PHPMailer fiindca nu depind de configuratia serverului. Oricand pot schimba modalitatea de transmitere din script... nu fiecare data am acces la php.ini sau nu mereu pot folosi un relay server ori sendmail.
Eu am avut probleme mari cu PHPMailer fiindca se opreste la prima eroare SMTP in loc sa continue procesarea. Daca stii cum sa setezi serverul mai degraba vei avea probleme cu phpmailer decat cu mail().
Recomand Swift Mailer.
Features
Persistent connectivity improves performance
Connection types selected by user - extendable
Complete header control with RFC 2822 requirements handled
Internationalization support (i18n)
Connection redundancy support
Load balancing and/or throttling support
SSL & TLS Support - for Gmail servers
Embedded images or other file types
Full MIME 1.0 library included (create multipart messages, attachments etc)
Batch mail processing
Smart runtime caching (in small, self-maintained packets)
Send attachments of any size even with PHP's 8MB Memory Limit
Support for multiple attachments
Lossless protection against header injection (encode, don't strip)
Set message priority
Request read receipts
Pluggable SMTP authentication (LOGIN, PLAIN, MD5-CRAM, POP Before SMTP)
Anti-flooding support for servers with limits on emails-per-connection
Bandwidth monitor included
Extensive event-driven plugin support (easy to write)
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 14 vizitatori