Re: [PHP] Re: send mail to mailing list using mail() or smtp?

2001-08-26 Thread Richard Lynch

Look at some sample (or just *use*) scripts like the mail class at
UpperDesign.com

You just fsockopen to your SMTP server port 25, and fread/fwrite the
interchange that is required by RFCs to talk nicely to SMTP.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Niklas Lampen [EMAIL PROTECTED]
To: 'Richard Lynch' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, August 25, 2001 3:08 AM
Subject: RE: [PHP] Re: send mail to mailing list using mail() or smtp?


 I'm sending a huge amount of mails with php. How can I send mail directly
to
 the smtp server? Right now I'm using pipe to send each mail to sendmail.
 Works fine with about 35 000 mails, but it takes ages to run.

 What would be the smartest way?


 Thanks!


 -Original Message-
 From: Richard Lynch [mailto:[EMAIL PROTECTED]]
 Sent: 25. elokuuta 2001 3:54
 To: [EMAIL PROTECTED]
 Subject: [PHP] Re: send mail to mailing list using mail() or smtp?


  My question - is this going to work for a few thousand emails?

 Depends on your server.

  What
  about 100,000?

 No way.

  Would it be better to send the mail directly to the
  smtp server?

 Yes.

  Can you foresee any problems?

 Several.  The first one is you didn't read the archives or look for
 pre-existing code to talk to SMTP directly. :-)

 Manuel's upperdesign.com has one, and there are plenty of others.  You
could
 roll your own -- I did, so it can't be too tricky. :-)

 Also, at that volume, I think you're going to run into trouble just in
 talking to the all the SMTP servers.  I *BELIEVE* one major speed-up can
be
 achieved by sorting the outgoing emails by their recipient's domains...

 You may want to research how real mailing list software deals with this
if
 you actually expect to hit 100K addresses.

 If they're all the same email, you'd be *WAY* better off just interfacing
to
 majordomo, ezmlm, SmartList, or whatever other mailing list software was
 designed to handle this.

 --
 WARNING [EMAIL PROTECTED] address is an endangered species -- Use
 [EMAIL PROTECTED]
 Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
 Volunteer a little time: http://chatmusic.com/volunteer.htm



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Re: send mail to mailing list using mail() or smtp?

2001-08-25 Thread Niklas Lampen

I'm sending a huge amount of mails with php. How can I send mail directly to
the smtp server? Right now I'm using pipe to send each mail to sendmail.
Works fine with about 35 000 mails, but it takes ages to run.

What would be the smartest way?


Thanks!


-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: 25. elokuuta 2001 3:54
To: [EMAIL PROTECTED]
Subject: [PHP] Re: send mail to mailing list using mail() or smtp?


 My question - is this going to work for a few thousand emails?

Depends on your server.

 What
 about 100,000?

No way.

 Would it be better to send the mail directly to the
 smtp server?

Yes.

 Can you foresee any problems?

Several.  The first one is you didn't read the archives or look for
pre-existing code to talk to SMTP directly. :-)

Manuel's upperdesign.com has one, and there are plenty of others.  You could
roll your own -- I did, so it can't be too tricky. :-)

Also, at that volume, I think you're going to run into trouble just in
talking to the all the SMTP servers.  I *BELIEVE* one major speed-up can be
achieved by sorting the outgoing emails by their recipient's domains...

You may want to research how real mailing list software deals with this if
you actually expect to hit 100K addresses.

If they're all the same email, you'd be *WAY* better off just interfacing to
majordomo, ezmlm, SmartList, or whatever other mailing list software was
designed to handle this.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Re: send mail to mailing list using mail() or smtp?

2001-08-25 Thread hassan el forkani

use php for everything from subscription management to email authoring and 
use a perl script to effectively send the emails


At 10:08 25/08/01, Niklas Lampen wrote:
I'm sending a huge amount of mails with php. How can I send mail directly to
the smtp server? Right now I'm using pipe to send each mail to sendmail.
Works fine with about 35 000 mails, but it takes ages to run.

What would be the smartest way?


Thanks!


-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: 25. elokuuta 2001 3:54
To: [EMAIL PROTECTED]
Subject: [PHP] Re: send mail to mailing list using mail() or smtp?


  My question - is this going to work for a few thousand emails?

Depends on your server.

  What
  about 100,000?

No way.

  Would it be better to send the mail directly to the
  smtp server?

Yes.

  Can you foresee any problems?

Several.  The first one is you didn't read the archives or look for
pre-existing code to talk to SMTP directly. :-)

Manuel's upperdesign.com has one, and there are plenty of others.  You could
roll your own -- I did, so it can't be too tricky. :-)

Also, at that volume, I think you're going to run into trouble just in
talking to the all the SMTP servers.  I *BELIEVE* one major speed-up can be
achieved by sorting the outgoing emails by their recipient's domains...

You may want to research how real mailing list software deals with this if
you actually expect to hit 100K addresses.

If they're all the same email, you'd be *WAY* better off just interfacing to
majordomo, ezmlm, SmartList, or whatever other mailing list software was
designed to handle this.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: send mail to mailing list using mail() or smtp?

2001-08-24 Thread Richard Lynch

 My question - is this going to work for a few thousand emails?

Depends on your server.

 What
 about 100,000?

No way.

 Would it be better to send the mail directly to the
 smtp server?

Yes.

 Can you foresee any problems?

Several.  The first one is you didn't read the archives or look for
pre-existing code to talk to SMTP directly. :-)

Manuel's upperdesign.com has one, and there are plenty of others.  You could
roll your own -- I did, so it can't be too tricky. :-)

Also, at that volume, I think you're going to run into trouble just in
talking to the all the SMTP servers.  I *BELIEVE* one major speed-up can be
achieved by sorting the outgoing emails by their recipient's domains...

You may want to research how real mailing list software deals with this if
you actually expect to hit 100K addresses.

If they're all the same email, you'd be *WAY* better off just interfacing to
majordomo, ezmlm, SmartList, or whatever other mailing list software was
designed to handle this.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]