Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

Add possibility to send emails from custom email #20

Open
zasadnyy opened this issue Oct 23, 2013 · 10 comments
Open

Add possibility to send emails from custom email #20

zasadnyy opened this issue Oct 23, 2013 · 10 comments

Comments

@zasadnyy
Copy link
Member

Now emails are sent from admin's personal email. We need to add possibility to define custom email, e.g. devfest[at]gdg.org.ua

@webknjaz
Copy link
Member

As I know, Google SMTP has a restriction. It allows send 400 emails per day. Sometimes we may reach it.

I thought about making smth like a mailing list app on @MrGALL's server. But this requires more investigation.

@MrGALL
Copy link

MrGALL commented Oct 23, 2013

Google Apps allows 500 external emails per day for free accounts: https://support.google.com/a/answer/166852
Most of my site's emails sent via external services not from server directly (to avoid spam issues etc).
Maybe it will be better to use mailing list service rather then mailing list app?

@zasadnyy
Copy link
Member Author

Yes, it would be much better, e.g MailChimp has open API
http://apidocs.mailchimp.com/

@webknjaz
Copy link
Member

@MrGALL Probably yes. But I'd prefer to control all the mailing process. Anyway this should be investigated deeper.

Regarding spam, I've asked Konfucius (hurtom.com) about his experience and now I understand better how to avoid it.

@olostan
Copy link
Member

olostan commented Oct 23, 2013

Currently email is sent using logged user oauth token. Only "From" field is set in https://github.com/GDG-Ukraine/gdgregform/blob/master/server/card.js#L109
I can easily change it to arbitrary value specified when pressing "Send" button.

@zasadnyy will is solve your issue?

@zasadnyy
Copy link
Member Author

I'm not sure, but we can try

2013/10/24, Valentyn Shybanov [email protected]:

Currently email is sent using logged user oauth token. Only "From" field is
set in
https://github.com/GDG-Ukraine/gdgregform/blob/master/server/card.js#L109
I can easily change it to arbitrary value specified when pressing "Send"
button.

@zasadnyy will is solve your issue?


Reply to this email directly or view it on GitHub:
#20 (comment)

Best Regards,
Vitaliy Zasadnyy

email: [email protected]
skype: zasadnyy
gplus: gplus.to/zasadnyy
cell: _38 _063 863 20 62
http://zasadnyy.org.ua/

olostan added a commit that referenced this issue Oct 23, 2013
Partial solution for #20
@olostan
Copy link
Member

olostan commented Oct 23, 2013

Google actually allows to send with custom "From" field: https://support.google.com/mail/answer/22370?hl=en
So I've implemented changing of email. But this email should be confirmed in Gmail as alternate email (check "Settings")

So, procedure of adding alternate sender email is described on the link above. After that you can specify it before sending approval/confirmation requests.

@zasadnyy this solution should resolve this issue. If yes, you can close this issue (at least for now)

@webknjaz
Copy link
Member

For such emails google changes From header, like:

From: =?UTF-8?B?0KHQstGP0YLQvtGB0LvQsNCyINCh0LjQtNC+0YDQtdC90LrQvg==?= <[handle]@domain.org.ua>

But originator's address is still in headers:

Sender: [name]@domain.org.ua

Also keep in mind that to confirm such additional email everyone must have access to it..

@olostan
Copy link
Member

olostan commented Oct 24, 2013

But is there is a big oribken with "Sender" header?

@webknjaz
Copy link
Member

It's not a problem, but a feature. However, willing to confirm every single address sucks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants