Sending and receiving emails in saas app from different email accounts - email

In our SaaS product, we would like to send emails from our user email account and be able to read answers to that email.
Example:
john#example.com log in to our app and generates a file. He wants to send this file to his customer email. When the customer answers the email, the content will be visible in the app so John doesn't have to check email and upload customers' files to the system manually.
Instead of downloading the file from our app and sending it manually via email client, we would like to be able to send this from our app and not from some common email account, like contact#ourapp.com, but from our user email, like john#example.com. The same for reading emails, instead of downloading the attachment from the email client and uploading it to our app, we would like to automate this.
How can we achieve something like this?
Right now we are looking at solutions like SendGrid to send emails, but to send those emails from users' accounts, they would need to authorize it by logging in SendGrid.

Related

How can i create an email server that recieve mails without existing user accounts?

i have an email domain but i want to create an email server using that email domain but these server should be able to recieve emails and handle them without existing user accounts.
I mean, if someone send an email like "aaa#mydomain.com" or "bbb#mydomain.com" the server should be able to recieve those emails and handled them but those user accounts (aaa or bbb or other any "users") don't really exist in my email server.
I don't know if i have to program from zero an email server that should be able to do that (I use Java) or if there's email servers out there that can do what i want to do.
Thanks in advance.

Cannot send Email Confirmation to certain email providers

I have a Liferay 6.1.0ga1 Portal that requires email confirmation from new registered users.
Following my feedback from the Portal users, and testing with misc Email Providers I've noticed:
Users that use a gmail account for their account, have no problem at all
Hotmail users will receive the 'welcome to our portal' and 'Email confirmation' emails, directly into their junk folder
Yahoo users are receiving most of the sent emails (welcome email, reset pasword, etc) normally, but the email confirmation is never received, and cannot be found even in their Spam Folder. The same happens for every request for a new confirmation mail. In a certain case, the Confirmation email arrived a few hours later, but I cannot really reproduce this scenario.
This is becoming a blocker issue because yahoo users can't register to the portal.
Can anyone provide some ideas on what is causing this behavior, and how could I make sure that all users can receive their confirmation emails ?
Edit:
Could it be that certain email providers are using a strict policy, are blocking the Confirmation Email, because it includes an activation email? I've thought of some solutions like
- Creating a register Hook that informs the new users that they could set their account to accept mails from my Portal
- Creating a hook that will use another Email Template for email confirmation, e.g including the confirmation Token and excluding the activation url
You could take a look at this very old question: How do you make sure email you send programmatically is not automatically marked as spam?
So have you tried the mentioned options in the marked answer there?

Send email to users gmail contacts or yahoo mail contacts or LinkedIn connections

I am working on website with symfony where users create a page which is publicly viewable and I need to do something so that the users can send an email to their gmail or yahoo or LinkedIn or Facebook contacts(they can choose to whom the mail should go, it's like sending invitations to their mail contacts) about the site saying all about its greatness. I have no idea on what this process called or how to do this ? Do I need to use any Apis or ?
Usually this is done with several invitation channels:
simple email input field
https://developers.facebook.com/docs/plugins/send-button - with Facebook App, but no API call needed, you can just create the code with the code generator
Not sure if there is a possibility to share something with specific LinkedIn accounts, but i assume that you need to use their API: https://developer.linkedin.com/apis

Facebook spamming user#facebook.com email sent from server

We are developing a mobile application that communicates with a server, which sends a generated email on behalf of the app user to a facebook user.
The user sending the email is signed on to Facebook.
The email is sent to one or multiple FB friends/connection using their id (example: username#facebook.com).
The sender email can be from any domain and that's where the problem lies. Sending directly from gmail for example, works fine. But because our server is sending on behalf of the user, FB thinks its a spoofed email.
Sending the email from the app is not an option for us at this time.
Is there any way or service that would allow us to do this without having our emails marked as spam?
Facebook is transitioning away from the ability to send emails via an
API call on Mar. 1st. To compensate, they allow apps to now ask for a
user's email address directly.
If you set the email domain in your app's settings, then asking for
the email extended permission gives you the users email address
instead the ability to send an email via the API.
As of Mar. 1, the API will stop working and you are left alone to
figure out your own email solution. This goes for regular
notifications, both user to user and app to user, as well
From here
And:
Please note: We are in the process of deprecating the REST API,
and will not be adding support for this in Graph API.
Developers should directly send email to users once they are granted permission.
From here
However, I would suggest rather sending private message than emails, as described here

How to forward auto-generated mails?

I'm using Confluence and I want to send every Confluence user the daily notifications of the changes on it without making them to suscribe that notifications manually. All my Confluence users are members of a Yahoo group, so I want to send that message to the group automatically to make my Confluence users receive it.
My first idea was to create a user in Confluence whose email address was the same as the Yahoo group, and suscribe only that user to the notifications, so the mail will be received by all the members of the group (which are the same as Confluence users). I tried it but Confluence does not send the mail to the Yahoo account (I don't know why). The outgoing mail server is well-configured, because I receive the notifications in my email account (I'm suscribed manually to the notifications).
I supposed that the problem was with Yahoo mail or maybe with Yahoo Groups, so I decided to use an intermediate email account (I could solve it with Google Grous, but I need to avoid managing another group), and I used Gmail. I configured the forwarding, but it does not work with autogenerated mails, so I tried it with hotmail, but I have the same problem.
Does anybody know how to solve it?
Gmail does not forward autogenerated mails, but if you use a mail client like Thunderbird or Outlook, the mails are forwarded.