Re: [PHP] Effecient mass mailings

2008-02-04 Thread Robert Fitzpatrick
On Mon, 2008-02-04 at 08:53 -0800, Jim Lucas wrote:
 If you were sending HTML formatted emails and included images for the layout, 
 that would be fine.  But a 2-5MB attachment?  Why would want to send that as 
 an 
 attachment.  Give them a link back to your website.  If it is a private 
 thing, 
 make them log in.

Thanks Jim and Daniel. Not sure why I was stuck on duplicating the
existing apps efforts :/ I talked to my client and this it the way we're
going...

-- 
Robert

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



Re: [PHP] Effecient mass mailings

2008-02-04 Thread Richard Heyes

I've always personally hated receiving email with large
attachments, preferring instead to get links to the content on the
web.  Plus, that cuts down on the bandwidth the server (as well as
mailservers, gateways, et cetera) are responsible for handling,
because the PDFs or other attachments would only be downloaded by
those who really wanted to have them.  However, I know nothing about
the business model with which Robert is working, so it may be neither
applicable or optional in his case.


No it's another perfectly viable option. Click here to view a HTML 
version of this email links I would say no, but for files, then why 
not? Also prevents pissing off the user by not having to download the 
attachment if they're not interested in it (and assuming it will be 
base64 encoded as most attachments are, don't forget it will grow in 
size by a third).


--
Richard Heyes
http://www.websupportsolutions.co.uk

Knowledge Base and Helpdesk software for £299 hosted for you -
no installation, no maintenance, new features automatic and free

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



Re: [PHP] Effecient mass mailings

2008-02-04 Thread Jim Lucas

Robert Fitzpatrick wrote:

I a currently re-writing a web app from ASP to PHP and have come to the
part where the app sends mass mailings to their customer base. This has
always been problematic for them with the existing setup and I am
looking for the best approach. While I've setup mailings with PHP, never
such mass mailings. They will be using a web form to send sometimes
2-5MB attachments to thousands of customers to advertise new products
with PDF's, etc. Using their Windows IIS SMTP virtual server smarthost
function, I send their mail off-site to our postfix mail gateway, but it
still bogs down and I'm sure a remote server is not the answer, but
still better than the errors they receive trying to use localhost and
IIS. Once the re-write, the app will be on to a Linux box where I can do
some tweaking to these and hope localhost will work better for these
mailings.

Can someone give some pointers at how I may want to approach such mass
mailings? Thanks in advance!



As the manager of the ISP department and owner of a few hosting servers of my 
own, this is my opinion of the problem and how I would solve the problems.


If you were sending HTML formatted emails and included images for the layout, 
that would be fine.  But a 2-5MB attachment?  Why would want to send that as an 
attachment.  Give them a link back to your website.  If it is a private thing, 
make them log in.


Why do you think the mail service is bogging down?  Every email attachment that 
you send, unless it is plain text, gets converted to 7bit from 8bit.  This will 
almost double the size of the attachment.  Then, if you are sending multiple 
copies of this attachment, well, just think about the waisted CPU cycles.  Get 
my point yet.


Just create them a nice little email, and include a link that points to the 
document that would have otherwise been attached.  It will cut down on waisted 
bandwidth.  It will only get downloaded by the persons that actually want it.


A win win all the way around.

--
Jim Lucas

   Some men are born to greatness, some achieve greatness,
   and some have greatness thrust upon them.

Twelfth Night, Act II, Scene V
by William Shakespeare

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



Re: [PHP] Effecient mass mailings

2008-02-04 Thread Daniel Brown
On Feb 4, 2008 11:34 AM, Richard Heyes [EMAIL PROTECTED] wrote:
 If you have attachments, you could use one or more cheap remote servers
 and Bcc: the recipients. Or use the local mail gateway. Bcc:ing will cut
 down on the amount of the amount of actual data transferred to the mail
 server; you can send to say 100 recipients at once but only transfer the
 attachment data once.

I'm not 100% sure on this, so I'd defer to someone with greater
knowledge on the subject than I, but isn't BCC-delivered email
automatically scored higher on the Bayesian scale?

I've always personally hated receiving email with large
attachments, preferring instead to get links to the content on the
web.  Plus, that cuts down on the bandwidth the server (as well as
mailservers, gateways, et cetera) are responsible for handling,
because the PDFs or other attachments would only be downloaded by
those who really wanted to have them.  However, I know nothing about
the business model with which Robert is working, so it may be neither
applicable or optional in his case.

-- 
/Dan

Daniel P. Brown
Senior Unix Geek
? while(1) { $me = $mind--; sleep(86400); } ?

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



Re: [PHP] Effecient mass mailings

2008-02-04 Thread Jason Pruim

)


On Feb 4, 2008, at 11:22 AM, Robert Fitzpatrick wrote:

I a currently re-writing a web app from ASP to PHP and have come to  
the
part where the app sends mass mailings to their customer base. This  
has

always been problematic for them with the existing setup and I am
looking for the best approach. While I've setup mailings with PHP,  
never

such mass mailings. They will be using a web form to send sometimes
2-5MB attachments to thousands of customers to advertise new products
with PDF's, etc. Using their Windows IIS SMTP virtual server smarthost
function, I send their mail off-site to our postfix mail gateway,  
but it

still bogs down and I'm sure a remote server is not the answer, but
still better than the errors they receive trying to use localhost and
IIS. Once the re-write, the app will be on to a Linux box where I  
can do

some tweaking to these and hope localhost will work better for these
mailings.

Can someone give some pointers at how I may want to approach such mass
mailings? Thanks in advance!


It's not a complete PHP solution... BUT... why not pass it off to  
something written specifically to handle mass emails? something like  
mailman? Is it that they want the addresses in 1 place and 1 place  
only so they don't have to reenter the addresses?


If so, I'm pretty sure mailman can read flat files for addresses, so  
just have your app export the appropriate records to a flat file  
say... 1 address per line (Or how ever mailman would handle it)  
replace the old file, and then simply send out the email?


Or have I just shown my ignorance again? I've been told I'm very good  
at that! :



--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
[EMAIL PROTECTED]

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



Re: [PHP] Effecient mass mailings

2008-02-04 Thread Richard Heyes

I a currently re-writing a web app from ASP to PHP and have come to the
part where the app sends mass mailings to their customer base. This has
always been problematic for them with the existing setup and I am
looking for the best approach. While I've setup mailings with PHP, never
such mass mailings. They will be using a web form to send sometimes
2-5MB attachments to thousands of customers to advertise new products
with PDF's, etc. Using their Windows IIS SMTP virtual server smarthost
function, I send their mail off-site to our postfix mail gateway, but it
still bogs down and I'm sure a remote server is not the answer, but
still better than the errors they receive trying to use localhost and
IIS. Once the re-write, the app will be on to a Linux box where I can do
some tweaking to these and hope localhost will work better for these
mailings.

Can someone give some pointers at how I may want to approach such mass
mailings? Thanks in advance!


If you have attachments, you could use one or more cheap remote servers 
and Bcc: the recipients. Or use the local mail gateway. Bcc:ing will cut 
down on the amount of the amount of actual data transferred to the mail 
server; you can send to say 100 recipients at once but only transfer the 
attachment data once.


--
Richard Heyes
http://www.websupportsolutions.co.uk

Knowledge Base and Helpdesk software for £299 hosted for you -
no installation, no maintenance, new features automatic and free

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



Re: [PHP] Effecient mass mailings

2008-02-04 Thread Richard Lynch
On Mon, February 4, 2008 10:22 am, Robert Fitzpatrick wrote:
 Can someone give some pointers at how I may want to approach such mass
 mailings? Thanks in advance!

Get rid of the attachments?
:-)

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

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