Emailing content from one database to addresses in another database

My use case is for job posters and applicants, without sign-ups required.

On a job submission page, emails from job posters will be collected into one database.

Applicants can then access the dynamic project pages of each job, showing an “apply” button. They will then input contact and file uploads, which will be collected in another database.

I was wondering if it’s possible for the applications to be emailed to the respective job posters? If so, can we handle the emailing with our own address, so that the job posters will be receiving applications from us rather than applicants’ emails?

Yes, this is possible. If both applicant and job poster exist inside Wix as “Member”, you can do this. A couple of weeks ago wix-users-backend was extended with this possibility. Before that, Wix Code only allowed us to send email to the logged in user (so you have to do this from a backend function, not from the front-end, the page).
If, on the other hand, one of both is NOT registered as a Wix Member, then you must resort to using a different email solution (using only an email address), like I described here: https://girizano.wixsite.com/codecorner/home/send-email-thru-gmail-and-others-in-wix-code

About the sender address: I have not tried out the new backend function of sending email to other Wix Members, but there are 2 possibilities:

  1. Wix emails (Triggered emails) are sent from Wix, but the “replu to” field is populated with your email address (which is what you wanted)
  2. the Sender field is populated with your own email (so spoofed), which might result in a warning when the job poster receives the email because the 2 domain names (physical sender, Wix) and domain name in the spoofed “sender” (you@mydomain) do not coincide (somewixdomainwhereitwassentfrom.com <> mydomain.com).
    This is something that you have to check out yourself.

If you have to resort to my solution as mentioned, it depends on the email provider what the “sender” will be: Google, Yahoo, etc all put the account holders email in the “from” field, but you are free to specify the “reply to”-field. Other, payed providers, let you spoof the sender (see my article).

Hope this help, good luck