contact form

when somebody uses the contact form the message is sent to the email address that is set in the sites admin section, is there a way to change this to another address, i.e. have all messages that are sent via the contact form go to say support@ while leaving admin@ as the sites main email address, 

many thanks, 

i'm still running 7.1 

Quote · 29 Nov 2015

You will need to modify code to do that.

Edit contact.php

Look for this at about line 136

if (sendMail($site['email'], $sLetterSubject, $sLetterBody)) {

Change $site['email'] to 'youremail.yourdomain.com'


https://www.deanbassett.com
Quote · 29 Nov 2015

hi Deano, i keep getting an Email Send Failed message

Quote · 29 Nov 2015

Make sure the email address you entered is spelled correctly.

As long as it's valid, and inside quotes, it should work.

If single quotes don't work, then try double quotes "

Also make sure you actually have a support@yourdmain address setup. A failed message usally indicates the address is not valid. I have no other suggestions. Works for me.

https://www.deanbassett.com
Quote · 29 Nov 2015

all sorted, works perfectly, must have been the double quotes, as always you are a star sir, many thanks

Quote · 29 Nov 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.