diff --git a/dasettings/views.py b/dasettings/views.py index 0b3332c..349d6f6 100644 --- a/dasettings/views.py +++ b/dasettings/views.py @@ -673,7 +673,7 @@ def NewUserFirstStep(request): send_mail( request.user.profile.agency.name + ' Account', 'Hallo ' + newuserform.cleaned_data.get('first_name') + ' ' + newuserform.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://digitale-agentur.com/password-reset/ ein Passwort.', - 'support@digitale-agentur.com', + 'noreply@digitale-agentur.com', [newuserform.cleaned_data.get('email')], html_message=msg_html, fail_silently=True, diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index 2233c56..1ee9f6a 100644 Binary files a/digitaleagentur/__pycache__/settings.cpython-38.pyc and b/digitaleagentur/__pycache__/settings.cpython-38.pyc differ diff --git a/firstrun.py b/firstrun.py index 00c146f..2de5e3e 100644 --- a/firstrun.py +++ b/firstrun.py @@ -21,7 +21,7 @@ ag.save() pr=Profile() pr.agency=ag try: - user=User.objects.create_user(username, 'support@digitale-agentur.com', password) + user=User.objects.create_user(username, 'noreply@digitale-agentur.com', password) except: user = User.objects.get(username=username) user.first_name = 'ROOT' diff --git a/message/views.py b/message/views.py index 912f4ab..3db0582 100644 --- a/message/views.py +++ b/message/views.py @@ -43,7 +43,7 @@ def mainmessageview(request): send_mail( 'Agentur-Benachrichtigung', 'Hallo ' + targetuser.first_name + ' ' + targetuser.last_name + '! ' + notificationtext + " Klicken Sie hier.", - 'support@digitale-agentur.com', + 'noreply@digitale-agentur.com', [targetuser.email], html_message=msg_html, fail_silently=True diff --git a/users/signals.py b/users/signals.py index 71408ae..9c7a33a 100644 --- a/users/signals.py +++ b/users/signals.py @@ -166,7 +166,7 @@ def adjust_group_notifications(instance, action, reverse, model, pk_set, using, send_mail( 'Agentur-Benachrichtigung', 'Hallo ' + user_touched.first_name + ' ' + user_touched.last_name + '! ' + notificationtext, - 'support@digitale-agentur.com', + 'noreply@digitale-agentur.com', [user_touched.email], html_message=msg_html, fail_silently=True @@ -182,7 +182,7 @@ def adjust_group_notifications(instance, action, reverse, model, pk_set, using, send_mail( 'Agentur-Benachrichtigung', 'Hallo ' + user_touched.first_name + ' ' + user_touched.last_name + '! ' + notificationtext, - 'support@digitale-agentur.com', + 'noreply@digitale-agentur.com', [user_touched.email], html_message=msg_html, fail_silently=True @@ -215,7 +215,7 @@ def save_standard(sender, instance, **kwargs): send_mail( 'Agentur-Benachrichtigung', 'Hallo ' + user.first_name + ' ' + user.last_name + '! ' + notificationtext, - 'support@digitale-agentur.com', + 'noreply@digitale-agentur.com', [user.email], html_message=msg_html, fail_silently=True @@ -256,7 +256,7 @@ def save_news(sender, instance, **kwargs): send_mail( 'Agentur-Benachrichtigung', 'Hallo ' + user.first_name + ' ' + user.last_name + '! ' + notificationtext, - 'support@digitale-agentur.com', + 'noreply@digitale-agentur.com', [user.email], html_message=msg_html, fail_silently=True @@ -303,7 +303,7 @@ def adjust_group_notifications_task(instance, action, reverse, model, pk_set, us send_mail( 'Agentur-Benachrichtigung', 'Hallo ' + user_touched.first_name + ' ' + user_touched.last_name + '! ' + notificationtext, - 'support@digitale-agentur.com', + 'noreply@digitale-agentur.com', [user_touched.email], html_message=msg_html, fail_silently=True @@ -319,7 +319,7 @@ def adjust_group_notifications_task(instance, action, reverse, model, pk_set, us send_mail( 'Agentur-Benachrichtigung', 'Hallo ' + user_touched.first_name + ' ' + user_touched.last_name + '! ' + notificationtext, - 'support@digitale-agentur.com', + 'noreply@digitale-agentur.com', [user_touched.email], html_message=msg_html, fail_silently=True diff --git a/users/templates/users/newusers_email.html b/users/templates/users/newusers_email.html index 05f6ba8..1732db0 100644 --- a/users/templates/users/newusers_email.html +++ b/users/templates/users/newusers_email.html @@ -126,7 +126,6 @@

Hallo {{username}},

für Sie wurde ein Account in der Agentur {{user.profile.agency.name}} erstellt. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen:

https://digitale-agentur.com/password-reset

-

Weitere Informationen erhalten Sie von Ihrem Agenturleiter. Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen!

Mit freundlichen Grüßen

Ihr Team von Digitale Agentur

@@ -148,6 +147,12 @@ + + +
Bitte antworten Sie nicht auf diese E-Mail. Diese Adresse ist nicht für den Empfang für E-Mails eingerichtet. Sie können uns über die E-Mailadresse support@digital-agentur.com oder über das Support-Formular in Ihrer Digitalen Agentur + kontaktieren.
+ + + + +
Bitte antworten Sie nicht auf diese E-Mail. Diese Adresse ist nicht für den Empfang für E-Mails eingerichtet. Sie können uns über die E-Mailadresse support@digital-agentur.com oder über das Support-Formular in Ihrer Digitalen Agentur + kontaktieren.
+ + + + +
Bitte antworten Sie nicht auf diese E-Mail. Diese Adresse ist nicht für den Empfang für E-Mails eingerichtet. Sie können uns über die E-Mailadresse support@digital-agentur.com oder über das Support-Formular in Ihrer Digitalen Agentur + kontaktieren.
+ +