Now basically the erpnext system is trying to send email via sparkpost with TO: field as âaditya@gmail.comâ but in my account I have only configured the sending domain for âxyz.comâ since I donât own gmail.com.
Now the emails go out fine with the Always use accountâs email ID as sender as CHECKED.
Now my question is that how can I use the above check box unchecked and still be able to use sparkpost to send emails as we are using the userâs email ID to be senderâs email id and not the email accountâs email id.
Should I change the user_id and password or something else.
@adityaduggal unlike Mandrill, Sparkpost does not allow email masking i.e. you canât send using FROM address of gmail. You can only send through are verified domain that you own.
So, say you create an email address âemails@example.comâ. All emails will go with this as âFROMâ email address. But will be rendered in the email client as Aditya Duggal <emails@example.com>, with Reply-To set as your email address i.e. Aditya Duggal <aditya@gmail.com>.
This happens only when you check Always use Account's Email ID as Sender, you set the accountâs email ID as emails@example.com and this email ID is verified by Sparkpost.
@anand Thanks for the input, I was unable to search for this over google owing to my bleak knowledge of keywords âmaskingâ.
Another thing I would like to know is that whether the communication can pull the state of the email from sparkpost via API like âOPENEDâ, âREADâ etc. on the communication status itself, I have been out of luck for this feature since the Mandrill app stopped working and somehow the sendgrid integration does not seem to be pulling the status on my communications.
@adityaduggal due to the mandrill fiasco, we think that there is no point in making such a plugin as it wonât be maintained. As soon as the Email Queue pushes the email to Sparkpost, it is considered sent. It is better to develop our own âOpenâ notification system than rely on such a service. Maybe someone from the community can build this feature for frappe framework.