cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Setup

Mail Setup

Hello...

 

Having quite a few problems in terms of the mail setup in magento 2.

 

  1. Mail can't be sent from the contact form
  2. Emails are not sent when an order is placed
  3. Emails are not sent when a customer is signed up.

Having looking through all the settings it seems to be setup right ( well in my eyes )

 

is there any advanced support here so i can finally fet this problem sorted

 

Thank You

6 REPLIES 6

Re: Mail Setup

Hello @daniel_keay,

 

Please create a sample file on server and add below code in it with exists email address in it.

<?php
// the message
$msg = "First line of text\nSecond line of text";

// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);

// send email
mail("someone@example.com","My subject",$msg);
?>

After creating above file then please execute it on the browser and check in your inbox and spam folder. If you didn't get an email then you need to hosting provider to enable mail service. 

 

Otherwise, You can install third party mail service provider extension and after configure mail configuration you can also send email in Magento store. You can find out email extension here 

Extension: https://marketplace.magento.com/kiwicommerce-module-enhanced-smtp.html

This extension includes ready-to-use settings/configuration for most popular SMTP providers such as Gmail, Mandrill, SendGrid, Hotmail, Outlook, Yahoo Mail and 20 more. 

 

--
If my answer is useful, please Accept as Solution & give Kudos

 

 

Re: Mail Setup

Hello i am not 100% sure on what im doing :/ quite a newbie at all this

 

i have a VPS and the mail server is enabled i think

 

 

Re: Mail Setup

Hello @daniel_keay,

 

How do you think mail is working on your VPS? You can follow above steps then you will confirm about mail server is working on server. 

 

Thank you. 

Re: Mail Setup

@daniel_keay

 

Hello @mcmagento_mcmagento

 

If email is not sending then you can configure sendgrid SMTP in your store. Please find below free plugin to configure:

 

M2 Plugin:

https://marketplace.magento.com/sendgrid-email-delivery-simplified.html

 

M1 Plugin: 

https://marketplace.magento.com/sendgrid-sendgrid-emaildeliverysimplified.html

 

 

Manish Mittal
https://www.manishmittal.com/

Re: Mail Setup

Thank you..

 

Tried installing via setup wizard and getting the following error

 

https://prnt.sc/l0w1hz

 

but looking at www.toldvapeco.co.uk/info.php

 

it seems to right but its saying its not :/

Re: Mail Setup

@daniel_keay

 

Which plugin you are trying to install and what error you are facing?

Manish Mittal
https://www.manishmittal.com/