Hello,
My previous devleopper created a user to test things.
Now, when I go to send invoices via erpnext from the sales invoice page, the emails always include,in CC, the email for this user.
The user has been disabled quite awhile ago, but the email still persists.
Each time we send emails, the email address in questions always appears. The address looks pretty unprofessional, so for now, we can not use the email invoice feature, or the next step, automate the sending of invoices.
What suggestions might you have of where to look to stop this CC email address being added all the time?
Thanks for any ideas.
Joseph
Hello Joseph,
The email sending is working under “Notification”. You can search for notification list and find the document type for sales invoice and see the recipients, then you can delete the unwanted recipient(s) from the CC list.
Hello @prvstnk
Thanks for the suggestion.
I did check the notification as you suggested. Unfortunately, there are no email as CC.
I am open to other ideas:)
Thanks!
Joseph
Hi Joseph,
When you say send emails from the sales invoice page, do you mean the standard “Email” action from the menu that brings up a dialog?
Do you still have this issue?
I’m just looking to add in some code that also adds the billing email contact to the CC field of a Sales Invoice email, so I might be able to find the answer for you.
Regards,
Richard
Have a look in your Client Scripts under Sales Invoice.
There is a documented form script feature called get_email_recipients