issoseva / issoseva-old

Issoseva.org website
1 stars 0 forks source link

Fix sending message form #3

Closed nojvek closed 7 years ago

vidhikesaria commented 7 years ago

To be fixed by eod 09/16

When I hit send/submit, email with the message is sent to hello@issoseva.org. and we will show the below msg to customers - "Thank you for contacting us. We will get back to you shortly!"

nojvek commented 7 years ago

On the front end we would use jquery to make a ajax call to /api/email and send the message.

Api would send {success: true} or {error: "some message"}

On the front end we would show the thanks for contacting us message.

The api would use https://nodemailer.com/about/ with SMTP configuration.

yogeshkhatri1989 commented 7 years ago

Done

nojvek commented 7 years ago

It seems this broke the main website http://issoseva.org

Could you revert your change please and send a PR with a sample smtp config. I can add the config to the server.

The site is automatically deployed on every change to master, so we'll have to be careful in merging directly to master.

On Mon, Sep 25, 2017 at 1:13 PM, Yogesh Khatri notifications@github.com wrote:

Done

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/issoseva/issoseva.org/issues/3#issuecomment-331998510, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-JVLQ66SZTm_4x2jZ1DfIUrRjCDneaks5smAl_gaJpZM4PPKcV .

nojvek commented 7 years ago

@yogeshkhatri1989 see http://status.issoseva.org

I am reverting the change. Please send a PR with sample smtp

yogeshkhatri1989 commented 7 years ago

oh it just skipped my mind to send you config. i have sent you the PR for the same now, will carry on the same process onwards