Re: [PHP] Mailto members..?

2006-03-06 Thread Leif Gregory
Hello John,

Wednesday, March 1, 2006, 11:38:15 AM, you wrote:
 Outside of being a major spam flag, and possibly reaching the limits
 of your smtp server.

Agreed... Sending mass mail via BCC is going to be nothing but
headaches. I've been down that road a number of times.


-- 
  TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B
 __       Geocaching:http://gps.PCWize.com
(  )  ( ___)(_  _)( ___)  TBUDP Wiki Site:  http://www.PCWize.com/thebat/tbudp
 )(__  )__)  _)(_  )__)   Roguemoticons  Smileys:http://PCWize.com/thebat
()()()(__)PHP Tutorials and snippets:http://www.DevTek.org

For people who like peace and quiet:  a phoneless cord.

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



[PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg

Hi guys!

Anyone knows of something like this, but for free?
http://www.webscriptsdirectory.com/PHP/E-Mail-Systems/Php-Newsletter-Script-L1237/

All I want to do is to send a html mail to all my members at 
http://www.stammis.com/ (swedish site for pedigrees). It would be a 
informative letter that tells them about latest news at Stammis Internet.


I could something like this...

while ($dbArray = mysql_fetch_array($querys)) {
...sendmail (from, to, htmltext...)...
}

but this will bring a timeout. Any suggestions? (I don't want to change the 
timeout - value, it doesn't seem correct)



/G
ps. OT: Planning of making this site Open Source, do you think it matters if 
the site is in swedish for the sake of Open Source? (the code is in 
english). 


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



RE: [PHP] Mailto members..?

2006-03-01 Thread Jim Moseby
 Hi guys!
 
 Anyone knows of something like this, but for free?
 http://www.webscriptsdirectory.com/PHP/E-Mail-Systems/Php-News
 letter-Script-L1237/
 
 All I want to do is to send a html mail to all my members at 
 http://www.stammis.com/ (swedish site for pedigrees). It would be a 
 informative letter that tells them about latest news at 
 Stammis Internet.
 
 I could something like this...
 
 while ($dbArray = mysql_fetch_array($querys)) {
 ...sendmail (from, to, htmltext...)...
 }
 
 but this will bring a timeout. Any suggestions? (I don't want 
 to change the 
 timeout - value, it doesn't seem correct)

I wouldn't be shy about adjusting your timeout value.  Its common practice
to do so.  Sounds to me you just need to read up on the mail() function:
http://us3.php.net/manual/en/ref.mail.php There are TONS of code examples in
the comments at the bottom of the page.  Others here have mentioned the use
of a mailer class I can't remember the name of (phpmailer maybe?).

JM

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



Re: [PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg


- Original Message - 
From: Kevin Davies - Bonhurst Consulting [EMAIL PROTECTED]
To: 'Jim Moseby' [EMAIL PROTECTED]; 'Gustav Wiberg' 
[EMAIL PROTECTED]; 'PHP General' php-general@lists.php.net

Sent: Wednesday, March 01, 2006 4:32 PM
Subject: RE: [PHP] Mailto members..?



snip
Others here have mentioned the use
of a mailer class I can't remember the name of (phpmailer maybe?).
/snip


PHPMailer is really good for sending HTML/Text/Both emails - I'm using it 
on

a few different sites.

Link: http://phpmailer.sourceforge.net/

Also, if you're going to use PHPMailer an excellent tutorial can be found
here: http://www.phpfreaks.com/tutorials/130/0.php

HTH

Cheers,

Kev

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


Hi there!

THANX! This was really what I was looking for! :-)

/G

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



RE: [PHP] Mailto members..?

2006-03-01 Thread Kevin Davies - Bonhurst Consulting
snip
Others here have mentioned the use
of a mailer class I can't remember the name of (phpmailer maybe?).
/snip


PHPMailer is really good for sending HTML/Text/Both emails - I'm using it on
a few different sites.

Link: http://phpmailer.sourceforge.net/

Also, if you're going to use PHPMailer an excellent tutorial can be found
here: http://www.phpfreaks.com/tutorials/130/0.php

HTH

Cheers,

Kev

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



Re: [PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg
- Original Message - 
From: Marcus Gnaß [EMAIL PROTECTED]

To: Gustav Wiberg [EMAIL PROTECTED]
Sent: Wednesday, March 01, 2006 5:29 PM
Subject: Re: [PHP] Mailto members..?



Gustav Wiberg schrieb:

while ($dbArray = mysql_fetch_array($querys)) {
...sendmail (from, to, htmltext...)...
}
Why let PHP do all the work? If the body is all the same for all 
recipients you could send only one mail with all recipients in the 
BCC-field and only one dummy-adress in the To-field. This would lead to a 
very short execution-time.


Marcus


Yes, that's true! Is there any sideffects maybe...?

/G

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



RE: [PHP] Mailto members..?

2006-03-01 Thread Jim Moseby

  Gustav Wiberg schrieb:
  while ($dbArray = mysql_fetch_array($querys)) {
  ...sendmail (from, to, htmltext...)...
  }
  Why let PHP do all the work? If the body is all the same for all 
  recipients you could send only one mail with all recipients in the 
  BCC-field and only one dummy-adress in the To-field. This 
 would lead to a 
  very short execution-time.
 
  Marcus
 
 Yes, that's true! Is there any sideffects maybe...?

This type of email may be more susceptible to being caught in spam traps.
Check with your webhost to learn of any limits to the number of recipients
per message, and number of messages per day/hour/etc.

JM

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



Re: [PHP] Mailto members..?

2006-03-01 Thread John Nichel

Gustav Wiberg wrote:

- Original Message - From: Marcus Gnaß [EMAIL PROTECTED]
To: Gustav Wiberg [EMAIL PROTECTED]
Sent: Wednesday, March 01, 2006 5:29 PM
Subject: Re: [PHP] Mailto members..?



Gustav Wiberg schrieb:

while ($dbArray = mysql_fetch_array($querys)) {
...sendmail (from, to, htmltext...)...
}
Why let PHP do all the work? If the body is all the same for all 
recipients you could send only one mail with all recipients in the 
BCC-field and only one dummy-adress in the To-field. This would lead 
to a very short execution-time.


Marcus


Yes, that's true! Is there any sideffects maybe...?

/G



Outside of being a major spam flag, and possibly reaching the limits of 
your smtp server.


--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]

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



Re: [PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg


- Original Message - 
From: Jim Moseby [EMAIL PROTECTED]
To: 'Gustav Wiberg' [EMAIL PROTECTED]; Marcus Gnaß 
[EMAIL PROTECTED]

Cc: PHP General php-general@lists.php.net
Sent: Wednesday, March 01, 2006 7:29 PM
Subject: RE: [PHP] Mailto members..?





 Gustav Wiberg schrieb:
 while ($dbArray = mysql_fetch_array($querys)) {
 ...sendmail (from, to, htmltext...)...
 }
 Why let PHP do all the work? If the body is all the same for all
 recipients you could send only one mail with all recipients in the
 BCC-field and only one dummy-adress in the To-field. This
would lead to a
 very short execution-time.

 Marcus

Yes, that's true! Is there any sideffects maybe...?


This type of email may be more susceptible to being caught in spam traps.
Check with your webhost to learn of any limits to the number of recipients
per message, and number of messages per day/hour/etc.

JM


Aha.. that's a reason good enough for me for not using this method.

Thanx.

/G

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



RE: [PHP] Mailto members..?

2006-03-01 Thread Jim Moseby
  This type of email may be more susceptible to being caught 
 in spam traps.
  Check with your webhost to learn of any limits to the 
 number of recipients
  per message, and number of messages per day/hour/etc.
 
  JM
 
 Aha.. that's a reason good enough for me for not using this method.

It would still be to your advantage to check with your hosting about limits.
I ran up against that on the last newsletter I coded where I could have only
25 recipients per message and 99 total messages per day.

JM

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



Re: [PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg


- Original Message - 
From: Jim Moseby [EMAIL PROTECTED]
To: 'Gustav Wiberg' [EMAIL PROTECTED]; Jim Moseby 
[EMAIL PROTECTED]

Cc: PHP General php-general@lists.php.net
Sent: Wednesday, March 01, 2006 9:17 PM
Subject: RE: [PHP] Mailto members..?



 This type of email may be more susceptible to being caught
in spam traps.
 Check with your webhost to learn of any limits to the
number of recipients
 per message, and number of messages per day/hour/etc.

 JM

Aha.. that's a reason good enough for me for not using this method.


It would still be to your advantage to check with your hosting about 
limits.
I ran up against that on the last newsletter I coded where I could have 
only

25 recipients per message and 99 total messages per day.

JM


That's true!

Thanx again!

/G

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