Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rainbowsitter

    (@rainbowsitter)

    So i changed the following:

    ## OLD LINE 2987
    if ($form_data_replaced['emails_bcc']) {
           $header[] = 'Bcc: '.$form_data_replaced['emails_bcc'];
         }

    to

    ## NEW LINE 2987
         if ($form_data_replaced['emails_bcc']) {
    	$header2 = array();
    	$header2 = $header;
    	$header2[] = 'Bcc: '.$form_data_replaced['emails_bcc'];
          }

    and

    ## OLD LINE 2999
     $mail1 = wp_mail($form_data_replaced['admin_emails_to'], $form_data_replaced['admin_emails_subject'],'<html><head></head><body style="background:#f9f8f8;font-size: 12px;font-family: "Lucida Sans","Lucida Grande", Verdana, Arial, Sans-Serif;"">'.wpautop($form_data_replaced['admin_emails_message']).'</body></html>', $header);

    to

    ## NEW LINE 2999 (now it is actually line 3001)
     $mail1 = wp_mail($form_data_replaced['admin_emails_to'], $form_data_replaced['admin_emails_subject'],'<html><head></head><body style="background:#f9f8f8;font-size: 12px;font-family: "Lucida Sans","Lucida Grande", Verdana, Arial, Sans-Serif;"">'.wpautop($form_data_replaced['admin_emails_message']).'</body></html>', $header2);

    I know this is an ugly hack, but it solves my problem. Can you confirm I am doing the right thing??
    Thanks

    Thread Starter rainbowsitter

    (@rainbowsitter)

    I am not sure, but after reading you code for an hour, i think i might have found it. i guess the problem is in line 2987 in accua-forms.php

    if ($form_data_replaced['emails_bcc']) {
           $header[] = 'Bcc: '.$form_data_replaced['emails_bcc'];
         }

    Here you set the BCC to the bcc given, but do not check whether you are sending the confirmation or the submission email. Is that right?

    Thread Starter rainbowsitter

    (@rainbowsitter)

    Did that today, worked out great. Thank you.

    For everyone, who is in the same position:
    Do your backups, use the interconnectit script and you will be fine.
    And don’t forget to change the wp-config.php as well. That gave me a short feeling of “fuck something did went wrong!” until i realised what was going on.

    cheers!

    Thread Starter rainbowsitter

    (@rainbowsitter)

    hi ipstenu, thanks for your message.

    bu i think you might have misunderstood me.

    i am actually doing the inverse of what you said: i am staying on the same server, with the same actual folder locations, and the same database, but i am moving the domain name. before dev.domain.com, after http://www.domain.com

    this is a different case, isn’t it?

Viewing 4 replies - 1 through 4 (of 4 total)