Notification to External email
Notification to External email
I am developing an ardent api extension and want to be able to send an email to an external email address in a particular case. Is there a way to do this? I have looked at the Send Notification and it looks like they are sent to q2 users specifically.
I am developing an ardent api extension and want to be able to send an email to an external email address in a particular case. Is there a way to do this? I have looked at the Send Notification and it looks like they are sent to q2 users specifically.
from q2_sdk.hq.hq_api.q2_api.SendNotification import ParamsObj
from q2_sdk.hq.hq_api.q2_api import SendNotification
class Notification:
@staticmethod
async def send_notification(logger: LoggerAdapter, email: str, subject: str, body: str):
message_params = ParamsObj(logger, 'email', email, subject, body)
try:
res = await SendNotification.execute(message_params, True)
I have this set up and am not getting anything through to my own email
#question
Notification to External email
I am developing an ardent api extension and want to be able to send an email to an external email address in a particular case. Is there a way to do this? I have looked at the Send Notification and it looks like they are sent to q2 users specifically.
from q2_sdk.hq.hq_api.q2_api.SendNotification import ParamsObj
from q2_sdk.hq.hq_api.q2_api import SendNotification
class Notification:
@staticmethod
async def send_notification(logger: LoggerAdapter, email: str, subject: str, body: str):
message_params = ParamsObj(logger, 'email', email, subject, body)
try:
res = await SendNotification.execute(message_params, True)
I have this set up and am not getting anything through to my own email