the-canonizer / canonizer.2.0

The Canonizer 2.0 system built on a PHP / MySQL( Laravel Framework 5.4 )
MIT License
5 stars 4 forks source link

Add email section in admin to set up testing emails for environments other than staging #1091

Open gautamv16 opened 2 years ago

gautamv16 commented 2 years ago
gautamv16 commented 2 years ago

Following part need to implement in this feature.

  1. Create a section in admin panel where test user name and email can be added.

  2. Then those test email will be used in other then production environment for all kind of emails despatch.

  3. In all test emails of any feature include actual user Nickname and email address. e.g If a tester is receiving email for a supporter named "gautam" then that email must contain a part in body at top with highlighted colors " You are receiving this email as test user on behalf of gautam ( gautamv16@gmail.com )

BrentAllsop commented 2 years ago

We need to get this into the 2.0 system.

ashish76 commented 2 years ago

Based on the discussion we had today (ie. 27-Jan-2022), Iffort has proposed to use a tool like Mailtrap that provides Email Sandbox Service. The benefits of using such tools are

  1. Very simple to use, no need to make any modification in the codebase. It is exactly the simulation of the production environment. We just need to specify the SMTP details in the environment file.
  2. All emails go to the Mailtrap inbox.
  3. We can validate/test the email for the different devices (Desktop & mobile).
  4. View messages, check spam scores, validate headers, analyze the HTML support across email clients.
  5. Manage access to your inboxes for colleagues or clients. Send selected test emails to whitelisted real recipients.

Pricing of the tools The tool is free for individuals for evaluation but it offers different pricing plans for small & large businesses. My recommendation would be to buy a subscription for Team. Below is the link to review the various plan for your reference. Mailtrap Pricing Plan: https://mailtrap.io/pricing/

@BrentAllsop, @gautamv16, @akuks, @karun0607gautam, @rohit-talentelgia, @cd-ali-ehsan, and @sunnyjindal: I request you all to have a look and let me know if any queries or concerns.

sunnyjindal commented 2 years ago

@BrentAllsop what do you think about the approach suggested above?

sunnyjindal commented 2 years ago

@BrentAllsop We can also discuss this in our next call on Thursday.

gautamv16 commented 2 years ago

Hi Guys, we don't have a such complicated email system that we need to use this tool. We never had any issues in email and all is working smoothly. So as per me mendril is working perfectly and unnecessary we don't require to change it. We need to have customised admin based system for emails where we don't need to rely on any third party.

On Thu, 27 Jan, 2022, 5:09 pm Ashish, @.***> wrote:

Based on the discussion we had today (ie. 27-Jan-2022), Iffort has proposed to use a tool like Mailtrap that provides Email Sandbox Service. The benefits of using such tools are

  1. Very simple to use, no need to make any modification in the codebase. It is exactly the simulation of the production environment. We just need to specify the SMTP details in the environment file.
  2. All emails go to the Mailtrap inbox.
  3. We can validate/test the email for the different devices (Desktop & mobile).
  4. View messages, check spam scores, validate headers, analyze the HTML support across email clients.
  5. Manage access to your inboxes for colleagues or clients. Send selected test emails to whitelisted real recipients.

Pricing of the tools The tool is free for individuals for evaluation but it offers different pricing plans for small & large businesses. My recommendation would be to buy a subscription for Team. Below is the link to review the various plan for your reference. Mailtrap Pricing Plan: https://mailtrap.io/pricing/

@BrentAllsop https://github.com/BrentAllsop, @gautamv16 https://github.com/gautamv16, @akuks https://github.com/akuks, @karun0607gautam https://github.com/karun0607gautam, @rohit-talentelgia https://github.com/rohit-talentelgia, @cd-ali-ehsan https://github.com/cd-ali-ehsan, and @sunnyjindal https://github.com/sunnyjindal: I request you all to have a look and let me know if any queries or concerns.

— Reply to this email directly, view it on GitHub https://github.com/the-canonizer/canonizer.2.0/issues/1091#issuecomment-1023120450, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPJVHH5Q3SI5DOOJFY7G5TUYEVI3ANCNFSM5MUKQ7PA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

ashish76 commented 2 years ago

@gautamv16 Hi Gautam, this is not a replacement for any existing system. I am assuming that the existing system is sending emails to the user's inbox (which can be live or the test users). And I am not sure whether the existing system (Mandrill) has an option of a sandbox environment. Mailtrap captures SMTP traffic for staging and development environments and it is only used by the developers or testers so that we should avoid accidentally sending emails to the live users.

gautamv16 commented 2 years ago

Hey Ashish,

Sendgrid have sandbox testing. Sendgrid test

Sendgrid offers sandbox mode and sink email addresses for email developers.

  1. Test the API integration in the sandbox mode. In Sendgrid, it’s a mail_settings parameter, which helps validate email sending requests. Sandbox mode allows checking the parameters of your JSON payload. If any errors were found, it returns their detailed description. You can find more information and examples in Sendgrid documentation https://sendgrid.com/docs/for-developers/sending-email/sandbox-mode/. It doesn’t affect any of the real sending parameters.
  2. Check the email sending speed. This option can be useful for preparing large bulk email campaigns. Sendgrid has a “black hole” domain @ sink.sendgrid.net. It will accept all the messages and immediately remove them. If you have a dedicated IP address, this type of test won’t affect its warm up. However, all emails sent to this domain will be counted as billable.

On Tue, 1 Feb, 2022, 10:28 am Ashish, @.***> wrote:

@gautamv16 https://github.com/gautamv16 Hi Gautam, this is not a replacement for any existing system. I am assuming that the existing system is sending emails to the user's inbox (which can be live or the test users). And I am not sure whether the existing system (Mandrill) has an option of a sandbox environment. Mailtrap captures SMTP traffic for staging and development environments and it is only used by the developers or testers so that we should avoid accidentally sending emails to the live users.

— Reply to this email directly, view it on GitHub https://github.com/the-canonizer/canonizer.2.0/issues/1091#issuecomment-1026478234, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPJVHFWCJITFXWVS2MTYPDUY5R6XANCNFSM5MUKQ7PA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

rohit-talentelgia commented 2 years ago

@gautamv16 please send the invite to join the MailTrap.