Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Hello everybody,
please anyone know how to disable the email notifications? Actually I’m using myMail so I’d like to disable the notification “new account/welcome” of UserPro.
Cheers,
Davide
Hey,
I was lurking in the forums about the emails and I found that :
(sry did not keep the original link)
Question :
How to Disable Welcome Email ?
Answer from Ahmed :
Remove or comment this line from functions/api.php:
userpro_mail($user_id, ‘newaccount’, $password, $form );
Question :
That worked, but it also looked like it deleted the message that is sent to the admin notifying them of a new user registration. Any way to keep the email sent to the admin, notifying of a new registration but deleting the email thats sent to the new user?
Answer from Ahmed :
Find:
1 2 3 |
if ($template != ‘profileupdate’ && $template != ‘pendingapprove’) { wp_mail( $user->user_email, $subject, $message, $headers ); } |
add to it && $template != ‘newaccount’
to stop new users welcome email but allow admin notification at same time
JM
You must be logged in to reply to this topic.