Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 7 Months, 4 Weeks ago Contact.php form
#1
Solved: 4 Years, 7 Months, 4 Weeks ago
Hi,

I was curious if there was a way to change the email the form is sent to?

So in other words the admin email address is for site stuff but the contact form would use a different email address.

Seems like there would be a easy soulution to this , even if I had to setup something manually for now.


Thanks
Reply
#2
Solved: 4 Years, 7 Months, 4 Weeks ago
Go to Tools & Maintenance -> User Email Log: Which can be found on the left side, under logs. If you see any errors, post them here. That's the only thing I can think of right now.

I see that you edit your first question, with your current one.
Reply
#3
Solved: 4 Years, 7 Months, 4 Weeks ago
depends you are pro at configs? and code u can try this

http://www.mybbstyles.com/showthread.php?tid=503

change the Compatibility of the plugins to 18*
Reply
#4
Solved: 4 Years, 7 Months, 4 Weeks ago
(12-17-2014, 08:22 AM)acidrain Wrote: depends you are pro at configs? and code u can try this

http://www.mybbstyles.com/showthread.php?tid=503

change the Compatibility of the plugins to 18*

Why would I do that when all those functions are already in the new contact form in 1.8?

All I want to do is have the emails go to somewhere other then forum admin.


So basically the site emails still would go to forum admin but then there would be another email account that all the emails from the contact form are sent to as well.
Reply
#5
Solved: 4 Years, 7 Months, 4 Weeks ago
ACP >> Configuration >> Site Details >> Admin Email and Return Email

Setup two different emails from your host cpanel and use one each for Admin Email and Return Email...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't seen it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#6
Solved: 4 Years, 7 Months, 4 Weeks ago
(12-17-2014, 10:47 AM)mmadhankumar Wrote: ACP >> Configuration >> Site Details >> Admin Email and Return Email

Setup two different emails from your host cpanel and use one each for Admin Email and Return Email...

Right now I have the admin email [email protected] because when the system sends out the registration emails I don't want it to use something they can reply to. But if I add the return email then if they did reply now it would go to the other email that I would want to use for the contact form if I did what you said.

Really the forums should have 3 email settings.

one for admin email
one for system email such as registration
one for contact form.

Currently the only email setting I see is for admin and return.
Reply
#7
Solved: 4 Years, 7 Months, 4 Weeks ago
if thats your concern, simply open contact.php and find

my_mail($mybb->settings['adminemail'], $subject, $message, $mybb->input['email']);

and replace it with...

my_mail('[email protected]', $subject, $message, $mybb->input['email']);

and same way replace this....

"toemail" => $db->escape_string($mybb->settings['adminemail']),

with...

"toemail" => $db->escape_string('[email protected]'),

NOTE: put the email inside quotes as shown
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't seen it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#8
Solved: 4 Years, 7 Months, 4 Weeks ago
Thanks!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)