PHPMailer - Definitely a Winner!

Posted on Monday, June 20, 2005 @ 20:38:59 UTC in PHP
by Raven

PHPMailer is a PHP-Class for PHP (www.php.net) providing a package of functions to send emails. Main Features are HTML-Mail and Emails with attachments. For mailing, PHPMailer supports nearly all possiblities (old+ most of any ways) to send emails: mail(), sendmail, qmail & smtp-server directly. You can use any feature of smtp based emails: multiple to's, cc's, bcc's etc. In short: you can send emails with PHPMailer. As you (might) know, you can already send mails with the php mail() function. So why do you need a class?

Isn't it slower? - Yes that's true. But you don't pay a price if you won't get anything for it: PHPMailer makes it easy to send mails, gives you the ability of using attachments, sending HTML-messages and other stuff. With PHPMailer you can even use your own stmp-server and walk around sendmail routines used by the mail() function on *nix platforms.

Features:
  • 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, Mercury, Courier
  • Works on any win32 or
  • nix platform
  • Flexible debugging
  • Custom mail headers
  • Multiple fs, string, and binary attachments (those from database, string, etc)
  • Embedded image support
 
 
click Related        click Share
 
 

Re: PHPMailer - Definitely a Winner! (Score: 1)
by kguske on Tuesday, June 21, 2005 @ 08:37:47 UTC

(User Info | Send a Message)

I absolutely agree. As an example, I setup Nuke on a new server - not a shared server. Emails from Nuke were not delivered, but test emails from PHPMailer, on the same server, were received with no problem. My assumption is that this was due to formatting differences - PHPMailer formatted the email in such a way that the receiving spam tools could verify that it was authentic. This will become even more important as spam blockers become more sophisticated.

I've noticed that some modules are including PHPMailer, but not in a common directory. It would be easier to maintain and require less space if addon modules (and even base Nuke functions) used PHPMailer in a common directory (e.g. include/phpmailer/).

Re: PHPMailer - Definitely a Winner! (Score: 1)
by montego
on Tuesday, June 21, 2005 @ 20:26:15 UTC
(User Info | Send a Message) http://montegoscripts.com

Is it really possible to include within a module? Doesn't it require to have the class added to the PHP class-path? Wouldn't this require admin rights which many of us on a shared server do not have?

Really interested, but concerned about the "details"...

montego

Re: PHPMailer - Definitely a Winner! (Score: 1)
by Raven
(raven (_AT_) ravenphpscripts (_DOT_) com) on Tuesday, June 21, 2005 @ 20:41:06 UTC
(User Info | Send a Message)

The class is nothing special. It's just a glorified function. Purists, please accept this for the moment :lol: You could just place it in includes.

 
News ©

Site Info

Last SeenLast Seen
  • pulaski
  • rovshan
Server TrafficServer Traffic
  • Total: 482,495,124
  • Today: 7,246
Server InfoServer Info
  • Apr 25, 2024
  • 06:13 am UTC