I used SMTP to send email, I sent test email successfully

I used SMTP to send email, I sent test email successfully and some email features work well but I configured send confirmation email, When I change appointment status from "pending" to "confirmed", no email sent, but if I view appointment details and check re-send confirmation email, the confirmation email is sent.

How can I fix this one ?