cozy / cozy-data-system

Deprecated - Data Layer for Cozy V2 Platform
https://cozy.io
GNU Affero General Public License v3.0
24 stars 21 forks source link

Need a way to send an email from the user to the user #181

Open bnjbvr opened 8 years ago

bnjbvr commented 8 years ago

See also https://github.com/bnjbvr/kresus/issues/284#issuecomment-159437683 . Cheers!

clochix commented 8 years ago

Thanks for reporting @bnjbvr.

sendMailFromUser needs the to field, sendMailToUser needs the from field, so if we want to send a message from the user to the user, the application needs to request the permission to access User.

Having a way to send a message from the user to the user may be useful.

But keep in mind that a lot of messages will be marked as spam if the sending domain is not allowed to send messages for the user email domain. sendMailFromUser may not always work.