Echelon 1.4 - contact form

pending (2 posts) (2 voices)

  1. ideaassociates
    Member

    My question/issue is on the contact us form I am trying to send the submitted form to two people

    the shortcode editor entered
    [contactform email="bfreides@ideaassociates.com, bfreides@bellsouth.net"]

    when I try - it if will only send to the first email address. both email addresses are active and working!

    Posted 6 months ago #
  2. Ruderic
    Support

    Hi,

    I think the PHP script might be having trouble with multiple recipients. Let's try this, go to the theme folder and open the file "lib/classes/contact.php". In line #240 you will find this code:

    if ( @wp_mail( self::$posted_data['mysite_email'], $subject, $msg, $headers ) )
    	return true;

    Replace it with:

    if ( @wp_mail( self::$posted_data['mysite_email'], $subject, $msg, $headers ) ) {
            @wp_mail( 'bfreides@bellsouth.net', $subject, $msg, $headers )
    	return true;
    }

    Now, when you create the shortcode, just assign the first email address to it.

    Posted 6 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme