vBulletin Brasil

vB-Brasil

Comunidade vBulletin em Português

 

Cron Based E-Mail Sending [v1.12]

Esta é a discussão em Cron Based E-Mail Sending [v1.12] parte do fórum PaulM que integra a categoria Por desenvolvedor. Participe sempre de nossos debates.


Voltar   vBulletin Brasil > vBulletin Downloads > Por desenvolvedor > PaulM

Registrar FAQ Membros Calendário Pesquisar Postados Hoje Marcar Fóruns Como Lidos Especiais!

Notícias

Resposta
 
LinkBack Ferramentas do Tópico Modos de Exibição

  #1 (permalink)  
Antigo 12-03-2008, 00:19
Avatar de beduino
Webmaster
 
Registrado em: Feb 2006
Localização: Rio de Janeiro
Idade: 51
Posts: 3,178
Entradas no Blog: 20
Agradecimentos: 384
Agradecido 4,508 vez em 724 Posts
Peso da Avaliação : 5
beduino é um glorioso sinal de luzbeduino é um glorioso sinal de luz
10b Cron Based E-Mail Sending [v1.12]

[3.6.x] Cron Based E-Mail Sending [v1.12]

Link para vBulletin.org Cron Based E-Mail Sending - vBulletin.org Forum

Descrição do desenvolvedor:
Citação:
In default vBulletin if you send a large number of e-mails, vbulletin either puts them in it's queue and then attempts to send them as each user visits a page, or just simply tries to send them straight away (This is the case when you use the Administrators email users inteface).

As a result of this your server can become seriously overloaded very quickly - so sending several thousand e-mails (like a newsletter) can become very difficult (hours spent clicking 'next' in the ACP) - as a result of these problems, this very simple modification was born.

This modification does two things ;
1. E-mails from the ACP inteface are sent to the mail queue, not straight to the mail system.
2. The processing of the mail queue is set-up as a vb cron item.
Obviously for this to work, you must turn on e-mail queuing in the ACP options - set 'Use Mailqueue System' to 'Yes', and 'Number of Emails to Send Per Batch' to a realistic value (based on the cron setting, as below).
There are two realisitc options for the cron job, you can either set it to run every minute, and set the items to be processed to something small (like 10), or you can do what this modification does by default and set it to run every 10 minutes, and set the items to be processed to something larger (like 100).
Remember, 10 per minute = 600 per hour, 100 per 10 minutes is also 600 per hour. The numbers really depend on how quick you want large queues processed, and how much your mail server can handle in one go.
Once working, when using the ACP mail users inteface, remember you can set it to process 9999 at once (not 500 or whatever) as the mails will now go into the queue, not be sent directly.
Note: This modification will affect any queued e-mails such as subscription e-mails. It will not affect registration e-mails as they bypass queuing anyway.

Upgrading from the 3.5 version.
If you have the 3.5 version installed then you don't need to upgrade - however if you decide to upgrade then you need to delete the current cron job in the Scheduled Tasks Manager and then import the product xml via the ACP Product Manager. The file edits do not need to be changed.
Aproveitem
Beduino

contains hidden content You may reply or click 'thank you' to see hidden content
__________________
#Por mais chato que seja: NÃO respondo a dúvidas por MP, email e afins.#
~Todas as questões no fórum, por favor.~
Meu blog pessoal: joaobarroca.net
Click the image to open in full size.
Click the image to open in full size.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com Quote
Os seguintes 7 Usuários disseram Obrigado beduino por essa útil mensagem:
adrianobr (12-03-2008), danilo001 (17-03-2008), error61 (17-05-2008), killerofnet (12-03-2008), Lusitano (09-06-2008), phprap (26-06-2008), tiagobpc (16-03-2008)
  #2 (permalink)  
Antigo 12-03-2008, 01:07
Avatar de killerofnet
Super Moderador
 
Registrado em: Nov 2006
Localização: SP
Idade: 23
Posts: 1,953
Agradecimentos: 653
Agradecido 898 vez em 434 Posts
Peso da Avaliação : 24
killerofnet é uma pessoa muito querida
Padrão re: Cron Based E-Mail Sending [v1.12]

Uia agendando o envio de emails?

Thanks!
__________________
Sigamos todos pelo lema do VB-Brasil: "Hoje você aprende, amanhã você ensina"

"Aqui é uma escola. Todos somos aprendizes"
"Não se pode ensinar tudo a alguém, pode-se apenas ajudá-lo a encontrar por sí mesmo."
Galileu Galilei

É iniciante? Consulte nosso FAQ de Perguntas Frequentes [ AQUI ]
Antes de abrir um tópico, use o sistema de [busca]
Click the image to open in full size.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com Quote
  #3 (permalink)  
Antigo 16-03-2008, 20:34
Avatar de tiagobpc
Iniciante
 
Registrado em: Oct 2007
Idade: 15
Posts: 3
Agradecimentos: 25
Agradecido 2 vez em 1 Post
Peso da Avaliação : 0
tiagobpc ainda não possui pontos de reputação
Padrão re: Cron Based E-Mail Sending [v1.12]

Cara... Ja instalei... Mas aonde que eu configuro isso?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com Quote
Os seguintes 2 Usuários disseram Obrigado tiagobpc por essa útil mensagem:
darklord (25-06-2008), error61 (17-05-2008)
  #4 (permalink)  
Antigo 25-06-2008, 17:54
Avatar de darklord
Iniciante
 
Registrado em: Jun 2008
Idade: 38
Posts: 1
Agradecimentos: 1
Agradecido 0 vez em 0 Posts
Peso da Avaliação : 0
darklord ainda não possui pontos de reputação
Padrão re: Cron Based E-Mail Sending [v1.12]

thanks man...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Responder com Quote
Resposta

Favoritos


Usuários ativos no Tópico: 1 (0 Membros e 1 Visitantes)
 
Ferramentas do Tópico
Modos de Exibição

Regras para Posts
Você não pode postar novos tópicos
Você não pode postar respostas
Você não pode postar anexos
Você não pode editar seus posts

Código [IMG] Sim
Código HTML Não
Trackbacks are Sim
Pingbacks are Sim
Refbacks are Sim
Ir para...

Tópicos Similares
Tópico Tópico Iniciado Por Fórum Respostas Última Mensagem
vB 3.7.x Cron Based E-Mail Sending killerofnet PaulM 0 20-12-2008 22:07
vB 3.6.x Cyb - Advanced Permissions Based on Post Count 4.2 Tuga®™ Cybernetec 2 15-09-2008 19:13
vB 3.6.x Cyb - Advanced Permissions Based on User's Post Count Ganondorf Cybernetec 9 05-08-2007 22:02


Horários baseados na GMT -3. Agora são 00:04.

Advertisement
Booyah
   


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 :: Translated by vB-Brasil
vB Brasil & Portugal : vBulletin em Português

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104