Great. I’ll clone a copy from GIT tomorrow and try and get something worked out.
Robert
Great. I’ll clone a copy from GIT tomorrow and try and get something worked out.
Robert
Which branch do you want me to clone from btw Luis? Master?
Robert
I have always checked the setting for development, if the application is in development then I set the emails to always go to a developers email address.
However since doing the detectEnviornment() this setting gets set to the function that was run, I have had to use my own variable setting which is overridden in these detected methods. And then I have modified the mail plugin to check for this setting and make the necessary changes when sending the email. The reason I do it this way is so that I can still see that the correct mail settings are there, and I will safely know that in development the email will only ever go to me.
Regards,
Andrew Scott
Thanks for the comments Andrew,
This is also pretty much how I have handled things in the past too.
Robert