WordPress.org

Ready to get started?Download WordPress

Forums

Invoice King Pro
[resolved] PDF email not working (4 posts)

  1. Mark
    Member
    Posted 9 months ago #

    Hi, the pdf email function emails all emails to your test mailbox [removed]

    This is set on line 266 of admin_area.php. =)

    So I removed the remarks from the lines before that and remarked the line 266 and it works now. So I think the code from line 261-266 must be something like this:

    if (isset($invoice[0]->custom['invkp_selected_client_email'][0]) && $invoice[0]->custom['invkp_selected_client_email'][0] !== '')
            $email = $invoice[0]->custom['invkp_selected_client_email'][0];
        elseif (isset($invoice[0]->custom['invkp_client_email'][0]) && $invoice[0]->custom['invkp_client_email'][0] !== '')
            $email = $invoice[0]->custom['invkp_client_email'][0];
        else header("Location: ".$_SERVER['HTTP_REFERER']."&send=0");
    //    $email = <em>[removed]</em>;

    Regards, Mark
    http://wordpress.org/extend/plugins/invoice-king-pro/

  2. Ash Durham
    Member
    Plugin Author

    Posted 9 months ago #

    Hi mark,

    Please make sure that you update to the latest version of the plugin (in this case 1.0.1) as this was fixed up in that version.

    For those wondering, the email address was in there from testing and was forgotten to be removed.

    Also mark, please remove my email address from your post by editing it as I can moderate the posts.

    Thanks

    Ash

  3. Mark
    Member
    Posted 9 months ago #

    Oops.. No option for editing anymore... Any tips?

  4. Mark
    Member
    Posted 9 months ago #

    btw Thankz for the update!
    I do seem to edit my last post, but not my first.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags