Log in

View Full Version : Missing guest emails on Contact Us page


valdet
10-10-2010, 11:01 AM
I have a problem on vB3 where if a guest user contacts me through Contact Us form, their email is not sent to me on mail. There is no way for me to contact the guests where they report or ask about anything on my site.

Although email field is required for guests and cannot be left blank, on email report all I get is similar to following

Referring Page: http://www.mysite.com/forum/ (http://www.ohioquotes.com/lawn/browse.php?u=Oi8vd3d3Lmluc3VyYW5jZS1mb3J1bXMubmV0L 2ZvcnVtL2xvZ2luLnBocD9kbz1sb3N0cHc%3D&b=13)
IP Address: xxx.xxx.xxx.xxx
User Name: Unregistered
User ID: 0
Email:


Does anyone know why this problem occurs. Is anyone else having the same problem? I have few hacks installed and vBSEO.

I appreciate any tips.

Thanks

Lynne
10-10-2010, 03:10 PM
This works fine on my 3.8 site. Try using a totally default style and then test it.

valdet
10-11-2010, 08:12 AM
Thanks Lynne,

I tried with a default style and I also reverted the contactus template to default, then disabled vBSEO and No-Spam for Contact Us page. But it didn't work.

We use Google Apps for emails so all emails from that page are looking like coming from us and not showing the real user email which they entered on top of page.

After checking the code in sendmessage.php, I changed the vbmail function which creates the email and now we are able to see the user email as well.

Here is the code which worked in my case

vbmail($destemail, $subject, $message, false, $vbulletin->GPC['email'], '', $email);Now instead of guest names in email header, we get their email accounts.

Thanks and I hope other members with similar problem, find this useful.
Val.

Lynne
10-11-2010, 02:17 PM
Thanks for posting what worked for you. :)