PDA

View Full Version : Use Mailqueue System


khalled
12-25-2014, 05:06 AM
Use Mailqueue System
When enabled, subscription emails generated by your site will be processed in batches to lessen the load on your server. Account activation, lost passwords and other vital emails are sent instantly regardless of this setting. If your site has low traffic, subscription emails may be delayed.

The question how i can make mail send from contact us form sent instantly and reach my mail regardless of the above setting.

kh99 (vB.org Team) answer me in vbulletin.com that :
This can't be done unless you modify code (or use a plugin). You can ask about it at vbulletin.org.

kh99
12-25-2014, 01:10 PM
Create a new plugin using hook location sendmessage_docontactus_complete and this code:
$url =& $vBulletin->url;
eval(fetch_email_phrases('contactus', $languageid));
vbmail($destemail, $subject, $message, true, $vbulletin->GPC['email'], '', $name);
print_standard_redirect('redirect_sentfeedback', true, true);

khalled
12-26-2014, 09:45 AM
very thanks , i will try it and give feedback

--------------- Added 1419601425 at 1419601425 ---------------

It's work good very thanks