Notify multiple email addresses of new message

Everything related to MBoard - PHP message board
Locked
hdbrink
Posts: 6
Joined: Thu Jul 19, 2007 1:54 pm

Notify multiple email addresses of new message

Post by hdbrink »

is it possible to set mboard 1.3 to send notification of new messages to multiple email addresses instead of just to the administrator?

Thank you in advance
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I think an answer to this question has already been posted...

Anyway, in settings file just add more e-mails separated with a comma (,) to $settings['admin_email'].

For example:

Code: Select all

$settings['admin_email']='one@one.com,two@two.com,three@three.com';
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
hdbrink
Posts: 6
Joined: Thu Jul 19, 2007 1:54 pm

Is there Maximum limit to notice addresses

Post by hdbrink »

Thank you for the quick answer.

Is there a maximum number of addresses the script can send the notification to?

I need to send the notice to 22 member addresses.
I know a program like Outlook express limit us to 25 addresses at a time, but have no idea how the PHP server handles it.

Thank you
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Why don't you try it and see :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
hdbrink
Posts: 6
Joined: Thu Jul 19, 2007 1:54 pm

not a solution but may help

Post by hdbrink »

I found a pretty good answer to my own question and will share it to benefit the community.

If you send email using PHP there are a few settings the PHP server administrator can set including but not limited to:
- you can only send to 3 different email addresses at a time with a script.
- there is a hourly limit to the amount of emails that may be sent
- there is a daily limit to the amount of emails that a script may send.
the default setting seems to be 250 emails per day.
- if the emails is not sent due to limits reached, a mail delivery log is created but usually you will not have access to this log unless you own the server. thus you will never know that the mail is not sent.

to make it a bit more complex it tests the from field and may use different values if the from field is the correct domain name.

To summarize using PHP scripts to send to multiple email addresses seems to be very unreliable
try to find a different solution.

Hope this helps somebody with the same issues.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Actually that depends on server settings, PHP is capable of sending thousands of mails per minute - IF the server permits so...
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked