Found the bug.
In importer.php the send mail part is only designed for from submission.
//On line 420
if( isset( $form_data["sends_email"] ) && $form_data["sends_email"] && $mail_for_this_user ):
Modified it for now as a workaround
if( isset( $mail_for_this_user ) && $mail_for_this_user ):
-
This reply was modified 7 years, 3 months ago by khansadi.
-
This reply was modified 7 years, 3 months ago by khansadi.
-
This reply was modified 7 years, 3 months ago by khansadi.
-
This reply was modified 7 years, 3 months ago by khansadi.
Good morning,
Sorry for the delay but I was on my holidays.
I have just fixed it. Thanks for find the bug and for your code.
I have made it a bit more complex to solve some cases, look at it:
$mail_for_this_user = false;
if( $is_cron ){
if( get_option( “acui_send_mail_cron” ) )
$mail_for_this_user = true;
}
else{
if( $created || ( isset( $form_data[“send_email_updated”] ) && $form_data[“send_email_updated”] ) )
$mail_for_this_user = true;
}
// send mail
if( isset( $mail_for_this_user ) && $mail_for_this_user ):`
This will be included in next version with a mention to you.
Thanks!!!!
Thanks a lot Javier. I love this plugin and it match exactly the requirements I have for one of my project.
Will look forward for new features (if you have time 🙂 ).
@khansadi,
Thanks for your words.
If you have a minute please give us a good review and if you can, any little donation would be really great appreciated.
We use lots of our hours in this plugins and we almost never used it for personal projects so we need some help to continue with the develop.