contact/sendmail has stopped working

  • Posted in : Photographer
  • slantphoto
    Participant

    hello devs,

    visiting my website recently since about 3 months i’ve noticed my contact form has stopped working. I don’t think anything has changed since it last time it worked (nothing changed in contact-form or sendmail.php. i’ve since tried a few changes but to no avail.

    in the sendmail.php file my original settings were (if i remember correctly:

    $site_name = ‘my-site-name-is-here’;
    $sender_domain = ‘smtp.ionos.com’;
    $to = ‘my-site-email-is-here’;

    does that seem to be acceptable settings?

    it’s hosted with Ionos

    Thanks in advance

    serkan
    Moderator

    Hi,
    Could you provide me your related url, please?
    Thanks

    slantphoto
    Participant

    Sure it’s
    http://slantphoto.co.uk/contact.html

    I always get the red warning icon on when submitted.

    ahmetsali
    Keymaster

    Hi,

    1-) sender domain should be like;

    $sender_domain = ‘server@your-domain.com’;
    

    2-) if this doesn’t work please make sure php mail function is enabled on your hosting.

    Cheers.

    slantphoto
    Participant

    I’ve tried the $sender_domain as you suggested already. However just to clarify I literally use the word ‘server’ in the string or should that be replaced with something else?

    ahmetsali
    Keymaster

    Hi again, yes keep the “server” word and please contact your host and make sure php mail function is enabled on your hosting.

    slantphoto
    Participant

    Hello again and thanks for your help so far. I have finally got it to work.
    I changed settings again and it works now but I am 100% sure I already tried the settings I have now.
    Anyway the main thing is that I now receive emails from the contract form.

    Again thanks for all your help

    Take care

    Regards

    serkan
    Moderator

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register