Is it possible to use a GSuite group mail id as an alias to send mails using Gmail API? - google-api

My use case is to send mails from a GCP Compute Instance through its default service account with the sender as my GSuite group email which I have created for our business domain.
Could you please let me know if it is really possible to use that GSuite group email as a sender?
Thanks in advance

Related

Read Emails Sent To A Google Group

I have a use case where I need to read emails sent to a Google group.
Is this possible via the Gmail API?
I have created a google dev account and attempted this with no luck.

How to send an email to an O365 Group as a different user with Graph API?

I want to send an email to an Office365 Group using Graph API. My issue is that all the emails are sent from the user I am using to generate the token. This is expected as the API endpoint only supports User tokens (Delegated permissions) as described here.
https://learn.microsoft.com/en-us/graph/api/conversation-post-threads?view=graph-rest-1.0&tabs=csharp
Is there any way I can use Graph API to send an email to an O365 Group as another user? I know this is possible when sending an email to a regular user (https://learn.microsoft.com/en-us/graph/outlook-send-mail-from-other-user), but not sure how to do it with O365 Groups.
Thanks!
I guess this is not possible, unfortunately. You have to use EWS.

Use multiple sender address in Laravel Email

How to use different sender address in sending emails in Laravel. What i want is to send some emails from one email id and some mails from second email id but gmail is picking up every time the configuration done in env not from mailable class.
You can't replace sender with Google SMTP service.
Google rewrites the From and Reply-To headers in messages you send via it's SMTP service to values which relate to your gmail account.
GMail does allow sending via different addresses or alias but this is for sending via the GMail web app, see Here
If you own the domain you are supposedly sending from, use the Gmail for Domains , and setup a "myapp#mydomain.com" account.
Or, use another SMTP provider

Why can't I set the Office365 sender name remotely when sending via smtp?

An external saas application "SocialNetwork" is using one of our office365 users to send the notification emails. Typically the saas app will send different notifications and will set the sender name to the author of a new content. But the sender name for the notifications is always the name of the Office365 user ("SocialNetwork").
e.g.:
John Doe posts a new file in the saas application "SocialNetwork". I should receive an email notification about that. The notification is sent via our Office365 user "SocialNetwork". Sadly the email I receive as a Office365 user comes from "SocialNetwork" and not as "John Doe", which is set when the notification email is sent.
How can we send notifications via an office365 user but still not have a fixed name for this user and rather send emails with it including varying sender names?
Exchange Server in general, and Office 365 in particular, will not let you spoof the sender address. It has to come from one of the SMTP aliases of the mailbox.

What kind of permissions required to send an email to Distribution List email ID in MS CRM

Do we need any permissions to send an email notification across the Distribution List email ID from CRM.
Please suggest
Thanks in Advance
It depends if you are running on-prem or online. If you have an email router (onprem) then in the email router configuration application you can set users to have outgoing and ingoing emails...I dont really understand your question though

Resources