When you validate an email in Laravel, you have the ability to specify whether you want a specific model to be excluded. The reason why you would exclude a model is for example, if you have a user account and the user needs to update their first name, but their email stays the same. Typically, Laravel would re-save the whole form and also validate the email, but because that user is already using the email, it will spit back a “unique” validation error mentioning the email already exists in the system (even though it is still being used by said user.
Sendy is an affordable alternative to using the likes of Mailchimp, Campaign Monitor and other cloud based email marketing tools. If you find that you are sending thousands of emails per month and are looking to reduce your spending on email marketing, Sendy is your answer. Sendy isn’t necessarily as aesthetically pleasing and easy to use as some of the cloud solutions, but it is a self hosted solution which requires a one time fee (currently $59 USD) – it then uses Amazon SES to send emails and currently Amazon SES charges $0.10 per 1000 emails. Cool Huh?
Watch the below video and learn how to set it up completely.
I don’t know about you, but I love Gravity Forms in WordPress, it’s such a useful plugin for creation of fast, on-the-fly forms. I use Gravity Forms in nearly every website I create. Despite how good it is, I’ve had some problems recently receiving gravity form e-mails to my e-mail.
What’s happening exactly? So, someone comes onto my website and wants to enquire for more information. They fill out a small enquiry form and voila! an email should be sent to me with their details so that I can contact them. Ideally, the contact form should be sending to my e-mail, but be from the person enquiring so that I can click reply to the e-mail and it responds back to them without having to open a new message and copy their e-mail address into it.
I had this small, annoying problem the other day which is contributing to my hair loss. It was the ability to CC a user into WooCommerce e-mail correspondence. So basically, when WooCommerce sends an e-mail to your customer when their order is placed and completed, I want it to send the email to another user too. That’s all and well if you want to send it to one user for every order, but what I needed was a bit different.
When a customer sets up an account in WooCommerce, they can specify their account login (this is the login / username they use to log into your website), they can also specify a billing e-mail, which would basically mean that any billing related emails, like confirmations from your online shop would go to just the billing e-mail that this customer has provided. That’s fine! BUT – if you for some reason want your user account e-mail and your billing account e-mail to both receive this e-mail, that’s where WooCommerce falls short. I spent hours on end trying to figure out how I can make it work, and I have finally have.