Support » Plugins » Hacks » wp_mail() question. Adding a second email to address

  • Not much of a coder so I appreciate the help. I am trying to add another to: user when a plug in sends an email to me. Here is the code for the admin and user:

    $expiring_email_to  = get_option( 'link_manager_mail_to', get_option('admin_email'));
    	$client_email  = $link('clientemail');

    then in the wp_mail I have:wp_mail($expiring_email_to,$client_email,$email_subj, $email_text);

    My user is listed in the database table link under “clientemail”.
    I simply want to be able send an email to me and one other person. It works fine for me but not the other email at this time.

  • The topic ‘wp_mail() question. Adding a second email to address’ is closed to new replies.