mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Send request to api to check if reply-to address is working
This commit is contained in:
@@ -386,6 +386,12 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
)
|
||||
)
|
||||
|
||||
def verify_reply_to_email_address(self, email_address):
|
||||
return self.post(
|
||||
"/service/email-reply-to/verify",
|
||||
data={"email": email_address}
|
||||
)
|
||||
|
||||
@cache.delete('service-{service_id}')
|
||||
def add_reply_to_email_address(self, service_id, email_address, is_default=False):
|
||||
return self.post(
|
||||
|
||||
Reference in New Issue
Block a user