Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Ninja ZX-10RR - kesäkuu 30, 2014, 11:00:48 AP

Otsikko: Email queue problem
Kirjoitti: Ninja ZX-10RR - kesäkuu 30, 2014, 11:00:48 AP
Hi everyone I have a big problem about my emails being sent from my forum...
Here there is all the story --> http://www.simplemachines.org/community/index.php?topic=524224.0 , the shorter version is that my host has a limit about emails being sent. That limit is 3 mails every 2 seconds so 90 emails per minute. The problem is that SMF doesn't send the emails regularly but in "loads" of many emails (http://www.simplemachines.org/community/index.php?topic=524224.msg3714315#msg3714315) so I will hit that limit for sure... And of course I can't just set it to 1 email per minute :(
Is there any way to edit the function Sources/ScheduledTasks.php, function "ReduceMailQueue" in a way that I can set it up to fit my needs. It's extremely important and urgent :(
Thanks in advance, Flavio.
Otsikko: Re: Email queue problem
Kirjoitti: kat - kesäkuu 30, 2014, 03:35:11 IP
Maximum amount of emails to send per page load?

http://www.simplemachines.org/community/index.php?topic=287725.0
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - kesäkuu 30, 2014, 04:11:20 IP
Thank you for your reply but I don't think it will work --> http://www.simplemachines.org/community/index.php?topic=524224.msg3713800#msg3713800
And hope you got better ;)
Otsikko: Re: Email queue problem
Kirjoitti: kat - kesäkuu 30, 2014, 04:35:27 IP
I'm quite a bit better, ta! :)

Just feeling a bit battered, at the moment.

I've never worked out what that setting's supposed to do, to be honest. It seems pretty obvious. But. reading the thread that I linked to, I'm not so sure. Karl sure knew his stuff, when he was here.

I'm surprised that this kind of thing can't be set up in CPanel, somewhere. Can't find anything, though. :(
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - kesäkuu 30, 2014, 05:03:13 IP
Good to hear that you feel better :)
Indeed I know it's a bit tricky and so bad to me as it's very important... I have posted into my host forum to ask if they can change that setup (it's in Italian lol) --> http://forum.it.altervista.org/servizi/214412-limite-mail-come-da-richiesta.html
Otsikko: Re: Email queue problem
Kirjoitti: kat - heinäkuu 01, 2014, 06:11:44 AP
That'll be your best option, I believe. :)
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - heinäkuu 01, 2014, 06:10:37 IP
They said they will take it into consideration in the future updates... I am not entirely sure about what that could mean.
Otsikko: Re: Email queue problem
Kirjoitti: kat - heinäkuu 02, 2014, 05:25:36 AP
Neither am I... Updates to what?
Otsikko: Re: Email queue problem
Kirjoitti: Illori - heinäkuu 02, 2014, 05:37:04 AP
i would assume future updates to their servers and configuration.
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - heinäkuu 02, 2014, 09:18:09 AP
You're right Illori but I'm still wondering... Did they say that for being publicly kind to me or did they really take it into consideration? xD I believe that is the 1-million dollars question :P
Otsikko: Re: Email queue problem
Kirjoitti: kat - heinäkuu 06, 2014, 02:25:09 IP
They expect you to put up with things, as they are, until then?

Weird.
Otsikko: Re: Email queue problem
Kirjoitti: Illori - heinäkuu 06, 2014, 02:59:32 IP
Lainaus käyttäjältä: K@ - heinäkuu 06, 2014, 02:25:09 IP
They expect you to put up with things, as they are, until then?

Weird.

that is what you get with a free host.
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - heinäkuu 14, 2014, 12:03:33 IP
Lainaus käyttäjältä: Illori - heinäkuu 06, 2014, 02:59:32 IP
that is what you get with a free host.
My domain is paid by the way.
Sorry for the late reply I have been in hospital the last week and almost died. (no joke)
Otsikko: Re: Email queue problem
Kirjoitti: Illori - heinäkuu 14, 2014, 12:11:11 IP
i said host, not domain. those are 2 different things. from all i can see you are using a host that is free.
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - heinäkuu 14, 2014, 12:14:49 IP
I know you said that as well as I know that I answered a different thing, so? Do you want to be that "racyst" towards free hosts just because they are free?
P.s.If I don't reply it's coz I can't type actually..
Otsikko: Re: Email queue problem
Kirjoitti: Arantor - heinäkuu 14, 2014, 01:15:24 IP
Thing is, pretty much all free hosts tend to be terrible.
Otsikko: Re: Email queue problem
Kirjoitti: radu81 - heinäkuu 14, 2014, 07:41:32 IP
Lainaus käyttäjältä: ‽ - heinäkuu 14, 2014, 01:15:24 IP
Thing is, pretty much all free hosts tend to be terrible.
especially when it comes to sending emails.
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - heinäkuu 15, 2014, 08:05:16 AP
Instead of discussing on how *not* to do it can you please get back on topic and help me if you have any ideas? I have already a thousand thoughts on my mind starting with recoverng after getting out of the hospital and hearing you throwing crap about my host that always treated me good is not the first thing I want and need to do. Thank you.
Otsikko: Re: Email queue problem
Kirjoitti: Illori - heinäkuu 15, 2014, 10:04:11 AP
would you rather us lie to you? there is no solution for your problem if your host will not change how they deal with email. you need to change to paid hosting or you need to deal with it end of story.
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - heinäkuu 15, 2014, 10:23:11 AP
-.-
I am not stupid I could make it until there on my own already Illori! BUT! If anyone *could* actually edit that SMF function for me I *could* get it to work.
Ah and sorry for being "rude", http://www.simplemachines.org/community/index.php?topic=525177.0, it should explain you why.
Otsikko: Re: Email queue problem
Kirjoitti: Arantor - heinäkuu 15, 2014, 02:18:24 IP
I don't see how it can be edited in the first place.
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - heinäkuu 15, 2014, 03:49:14 IP
Neither me so that's why I asked D:
Otsikko: Re: Email queue problem
Kirjoitti: Arantor - heinäkuu 15, 2014, 03:50:53 IP
And that's just it... I'm not sure it can be adjusted that significantly. You're never going to get great results on a free host.
Otsikko: Re: Email queue problem
Kirjoitti: Ninja ZX-10RR - heinäkuu 15, 2014, 03:56:13 IP
Peteeeeeeeeeee I already said I know it I am just trying to to do the best that I can with the s... I have and can afford now! I have said this already 9 days ago will you forgive me if, after getting out of the hospital and having to repeat it after the same amount of time I have to repeat it again and again? Jeez sorry if I have been disrespectful huh you know me being always concerned about it but being bugged for days like that and with all the stress made me angry.
Otsikko: Re: Email queue problem
Kirjoitti: Arantor - heinäkuu 15, 2014, 03:57:42 IP
Yes, I realise that, but I don't think you're listening. Your last post had the feeling that you want to fix it even though I just said I don't think it can be fixed.
Otsikko: Re: Email queue problem
Kirjoitti: Illori - heinäkuu 15, 2014, 04:00:20 IP
if someone can fix this for you, they can pm you the solution.

you are not listening to those that know more then you do.