Re: [PHP] email w/attachments

2011-04-18 Thread Richard Quadling
On 18 April 2011 04:38, Bastien phps...@gmail.com wrote:




 On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote:

 Hi gang:

 Anyone have an email script that allows attachments they would share?

 I've been trying to figure this out and everything I've tried has failed. 
 I've looked at over a dozen scripts that don't work. I'm about to pull out 
 what hair I have left.

 Cheers (I think),

 tedd

 --
 ---
 http://sperling.com/

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


 I use phpmailer for that. Great class and easy to do

 Bastien Koert

When I started out, I used the HtmlMimeMail class from Richard Heyes
at phpguru.org. It is now called RMail.

I found this very easy to use.

Extending the main class to include logging of mail is very easy (this
year, I've sent 33,500 emails using it).

I send email with a plain text part as well as a HTML part. With
embedded images and PDF attachments.

The recipients use a combination of Outlook (2003 and later),
GoogleMail and YahooMail.

All of the clients so far can read the messages sent and get the attachments.

If you intend to send HTML mail, you will have to go back to using
tables with inline CSS if you want to be halfway readable on Outlook
2007+. Outlook 2003 was very good with HTML mail. Outlook 2007+, not
so good. But that is fine for me, as the data was all tables. But for
those sending out pretty mails, I believe it is a harder job that
expected.

Richard.

-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] email w/attachments

2011-04-18 Thread Steve Staples
On Mon, 2011-04-18 at 11:05 +0100, Richard Quadling wrote:
 On 18 April 2011 04:38, Bastien phps...@gmail.com wrote:
 
 
 
 
  On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote:
 
  Hi gang:
 
  Anyone have an email script that allows attachments they would share?
 
  I've been trying to figure this out and everything I've tried has failed. 
  I've looked at over a dozen scripts that don't work. I'm about to pull out 
  what hair I have left.
 
  Cheers (I think),
 
  tedd
 
  --
  ---
  http://sperling.com/
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
  I use phpmailer for that. Great class and easy to do
 
  Bastien Koert
 
 When I started out, I used the HtmlMimeMail class from Richard Heyes
 at phpguru.org. It is now called RMail.
 
 I found this very easy to use.
 
 Extending the main class to include logging of mail is very easy (this
 year, I've sent 33,500 emails using it).
 
 I send email with a plain text part as well as a HTML part. With
 embedded images and PDF attachments.
 
 The recipients use a combination of Outlook (2003 and later),
 GoogleMail and YahooMail.
 
 All of the clients so far can read the messages sent and get the attachments.
 
 If you intend to send HTML mail, you will have to go back to using
 tables with inline CSS if you want to be halfway readable on Outlook
 2007+. Outlook 2003 was very good with HTML mail. Outlook 2007+, not
 so good. But that is fine for me, as the data was all tables. But for
 those sending out pretty mails, I believe it is a harder job that
 expected.
 
 Richard.
 
 -- 
 Richard Quadling
 Twitter : EE : Zend
 @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
 

I use phpmailer[1], and even though most people dont like it, Pear
MAILER as well.  With both, I've sent both HTML and plain text, as well
as attachments without any issues.

phpmailer[1] is my mailer script of choice.

Steve.

[1] http://phpmailer.worxware.com/index.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] email w/attachments

2011-04-17 Thread tedd

Hi gang:

Anyone have an email script that allows attachments they would share?

I've been trying to figure this out and everything I've tried has 
failed. I've looked at over a dozen scripts that don't work. I'm 
about to pull out what hair I have left.


Cheers (I think),

tedd

--
---
http://sperling.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] email w/attachments

2011-04-17 Thread Adam Richardson
On Sun, Apr 17, 2011 at 10:26 PM, tedd t...@sperling.com wrote:

 Hi gang:

 Anyone have an email script that allows attachments they would share?

 I've been trying to figure this out and everything I've tried has failed.
 I've looked at over a dozen scripts that don't work. I'm about to pull out
 what hair I have left.


I use the Zend Framework for almost all email capabilities within my
scripts:
http://framework.zend.com/manual/1.0/en/zend.mail.attachments.html

Nice documentation, well tested, and often times I'll end up using one of
the other components in the framework before I'm done, anyway, so it's nice
to have the framework sitting on the server ready to go (and, if desired,
you can send emails using SMTP credentials in a snap.)

Additionally, you only have to use what you want of Zend, so I actually use
my own framework for managing the flow of the application, and I just
include the specific Zend files needed in a particular page.

Adam

-- 
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com


Re: [PHP] email w/attachments

2011-04-17 Thread Bastien




On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote:

 Hi gang:
 
 Anyone have an email script that allows attachments they would share?
 
 I've been trying to figure this out and everything I've tried has failed. 
 I've looked at over a dozen scripts that don't work. I'm about to pull out 
 what hair I have left.
 
 Cheers (I think),
 
 tedd
 
 -- 
 ---
 http://sperling.com/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

I use phpmailer for that. Great class and easy to do

Bastien Koert
Sent from my iPhone
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php