Disable email notification – UserPro Forums https://forum.userproplugin.com/forums/topic/disable-email-notification/feed/ Sun, 19 May 2024 18:18:10 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/disable-email-notification/#post-41553 <![CDATA[Disable email notification]]> https://forum.userproplugin.com/forums/topic/disable-email-notification/#post-41553 Tue, 29 Jul 2014 20:19:50 +0000 GeMiNi 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

]]>
https://forum.userproplugin.com/forums/topic/disable-email-notification/#post-41717 <![CDATA[Reply To: Disable email notification]]> https://forum.userproplugin.com/forums/topic/disable-email-notification/#post-41717 Sun, 10 Aug 2014 13:53:25 +0000 JeanMarc Aubert 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:

add to it && $template != ‘newaccount’
to stop new users welcome email but allow admin notification at same time

JM

]]>