01-28-2010, 03:02 AM
admin's Avatar
admin admin is offline
Site Staff | Web Development
Join Date: Jul 2003
Posts: 4,307
Thanked 655 Times in 457 Posts
I admin a vBulletin site for a friend, and she uses SiteGround as her host.

For some reason, emails send through the "Contact Us" form at the bottom of the page,

and the mail option under
  • admincp
    • Users
      • Send Email to Users
Would not send.

HOWEVER, the automatic thread notifications, PM email alerts, and other similar messages were working fine.

Based off the information I read from http://support.jodohost.com/showthread.php?t=1691, I took a chance and replaced all instances of vbmail() with mail() in the sendmessage.php file.

HOWEVER, again, there were problems. I would get this error message:

Warning: mail() expects at most 5 parameters, 7 given in [path]/sendmessage.php on line 312
and email still did not send.

On line 312, about halfway down the sendmessage.php file, I changed one instance of mail() back to vbmail()
PHP Code:
vbmail($destemail$subject$messagefalse$vbulletin->GPC['email'], ''$name); 

Email can be sent through both the sendmessage Contact Us form, as well as the adminCP interface for admins to email all members.

- Did this site help you? Then upgrade to Premium Member and show your support!
- Also: Like Us on Facebook for special DVD/Blu-ray news and deals!
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts

admincp, email, sendmessage, siteground, vbulletin

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quality vBulletin themes for only $4 admin Web Development, Design 1 07-25-2013 07:06 PM
Useful vBulletin Mods (Plugins and Products) admin Website and Server Troubleshooting 2 11-20-2009 08:02 PM
VBulletin moderator menu mod admin Website and Server Troubleshooting 0 08-12-2009 01:36 AM
Snitz to vBulletin smiley conversions admin Website and Server Troubleshooting 0 06-05-2009 09:25 PM
VBulletin web streaming admin Website and Server Troubleshooting 3 04-25-2009 11:00 PM

Thread Tools

All times are GMT -5. The time now is 11:19 PM