• HI

    Can anyone help – we have our domain hosted else where – when setting up wordpress we have used the same domain – the issue I have is that if you try to send a mail from our website it goes nowhere and no error messages – I am guess it is to do with the mx records but am not savy enough with DNS to know where and how to make this work

    Can anyone help please

    Thanks in advance

    regards

    Richard

Viewing 1 replies (of 1 total)
  • The function wp_mail uses the servers mail functionality to send mail.. Here is a test to see if your server is able to send mail.

    put this in your functions.php file, load the site once, then remove or comment the code.

    mail('replace-with-your-email','Test Subject', 'This is a test message');

    Ensure to add your email. The code is a raw mail function and should send mail. You will more than likely have to check your spam. If it worked, you know your server is not giving you a false positive and is working. I would begin to look at your mail server itself (firewall, spam filter, ect..)

Viewing 1 replies (of 1 total)
  • The topic ‘Mail within website not working’ is closed to new replies.