• I use https://www.ads-software.com/plugins/post-smtp/ and Sendgrid API for many websites works perfectly.

    Your plugin is having trouble sending mail – maybe this is PHP7 problem or not too sure.

    Error.
    2018/03/13 14:59:10 [error] 44366#44366: *10108 FastCGI sent in stderr: “PHP message: ERROR PostmanWpMail: Exception code=0 message=Invalid “Cc” e-mail address “Request Additional Support”” while reading response header from upstream, client: xxx.93.xx.152, server: mysite.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/ajenti-v-php7.0-fcgi-mysite-php7.0-fcgi-0.sock:”, host: “mysite.com”, referrer: “https://mysite.com/wp-admin/index.php”

    • This topic was modified 6 years, 8 months ago by dblinks.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Papik81

    (@papik81)

    No, according to message you seem to have a wrong cc(clean copy) email address. Please check it for errors and post here if it helped. Maybe it needs to check email input validity.

    Thread Starter dblinks

    (@dblinks)

    I have general settings email matches all other emails set up in plugins and shows correct sender in your plugin. We have Gsuite domain mail using the post-smtp plugin shown above with Sendgrid API. All other plugins send mail but I am not pointing at you for error, just maybe how you tell post-smtp the CC, I have never heard of clean copy, and only put a regular email address in your box.

    Thanks for your reply.

    Thread Starter dblinks

    (@dblinks)

    Still kicking the tires.

    (You can input multiple e-mails separated by a coma – ‘,’)

    Email has invalid format, not updated. Other settings saved. (You may have only one e-mail in this field).

    So this part is broken, not part of my original error. Comma is spelled “comma” btw.

    Thread Starter dblinks

    (@dblinks)

    Back to the original problem (yes, this is multisite):

    PHP Warning: array_values() expects parameter 1 to be array, boolean given in /a1srv/mydomain/wp-content/plugins/dashboard-contact-form/settings.php on line 134

    if(is_multisite() && is_super_admin() && basename(filter_input(INPUT_SERVER,’PHP_SELF’)) == ‘options-general.php’ ){
    $cdw_blogs = isset($_POST[‘blog_id’]) ? array_values(filter_input(INPUT_POST,’blog_id’)) : array();

    if($cdw_blogs)

    $checked = in_array($blog[‘blog_id’],$cdw_blogs,true) ? “checked=\”checked\”” : “”;
    $current =

    PHP message: PHP Warning: in_array() expects parameter 2 to be array, string given in /a1srv/mydomain/wp-content/plugins/dashboard-contact-form/settings.php on line 265

    BLOG_ID_CURRENT_SITE == $blog[‘blog_id’] ? ‘ ‘.__(‘(Current)’,’cdw_widget’).’‘ : ”;
    $disabled = BLOG_ID_CURRENT_SITE == $blog[‘blog_id’] ? ‘disabled=”disabled”‘ : ”;
    echo “<tr><td><input class=\”input_blog\” type=\”checkbox\” “.$checked.” “.$disabled.” name=\”blog_id[]\” value=\””.$blog[‘blog_id’].”\” /></td><td>“.$blog[‘blog_id’].”:</td>”
    .”<td>“.$blog[‘domain’].$blog[‘path’].”“.$current.”</td></tr>\n”;
    }

    Plugin Author Papik81

    (@papik81)

    Well, I will try to fix in tomorrow, OK? The hardest thing is usually to replicate the issue. It is not the PHP7 issue, sure some invalid syntax.

    I think the line should work better as$cdw_blogs = isset($_POST[‘blog_id’]) ? array_values($_POST[‘blog_id’]) : array();

    Thread Starter dblinks

    (@dblinks)

    I really appreciate your help. If this cannot work would be nice just to be able to take out the support form.

    I changed the line you listed above correctly, now error is back to original:
    (service php7-fpm restart)

    2018/03/19 12:21:16 [error] 18997#18997: *199440 FastCGI sent in stderr: “PHP message: ERROR PostmanWpMail: Exception code=0 message=Invalid “Cc” e-mail address “mydomain Support”” while reading response header from upstream, client: xxx.94.xx.144, server: mydomain.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/ajenti-v-php7.0-fcgi-mydomain-php7.0-fcgi-0.sock:”, host: “.mydomain.com”, referrer: “https://.mydomain.com/wp-admin/&#8221;

    Thread Starter dblinks

    (@dblinks)

    ok, I’m sorry it DOES work now with your code revisionwhen I put a valid email inside “Copy”.

    Thanks !!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mail Error’ is closed to new replies.