Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drupal 7 - Sending emails from localhost

I have Drupal 7.18 on my local machine. I've created a contact form on my site and I've also downloaded the SimpleNews module and created a "sign up for our newsletter" block.

I've tested both of these by filling out the contact form with my email and details and it says the form has been submitted. I've also done the same for the newsletter sign-up and it says "thank you for signing up to our newsletter".

However, these emails aren't getting through to my inbox. I've tried using a couple of different emails but still nothing.

Is it because I'm working locally on my machine? If not, what could be causing this?

Many thanks :)

like image 720
user1979995 Avatar asked Dec 06 '25 06:12

user1979995


1 Answers

It's because you are working locally. You need to configure an SMTP client to be able to send emails from a local machine.

Consider using Mercury if you wanna be able to send emails from your local machine. it's free.

like image 88
Muhammad Reda Avatar answered Dec 07 '25 19:12

Muhammad Reda



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!