• Resolved flamuren

    (@flamuren)


    Hi,

    i use the spectra form.

    I cant change from who the mail is sent, so wp smtp reports error and also the form reports error in front end.

    “Mailer: Övrig SMTP
    SMTP Error: The following recipients failed: XXX@mydomain.com: Sorry MY IP. The “MAIL FROM” email address example@mail.com /
    mail.com you are using is not hosted on this server. Tried to use
    example@mail.com / mail.com as mail from address. Sending mails from
    addresses not hosted on our server is not allowed. Please check the “MAIL
    FROM” settings of your mail client and make sure you set the “MAIL FROM”
    address to an email account which is hosted on the server.”

    How can I fix this?

    Best regards,

    Flamuren

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter flamuren

    (@flamuren)

    I found the issue! Well not the real issue, just a work around.

    Since the form block is not working it seem to not use the emails I want in the settings. There for I get errors.

    However if I change the plugins code here: wp-content  plugins  ultimate-addons-for-gutenberg  blocks-config  forms  class-uagb-forms.php

           row 447     $sender_email_address = ! empty( $form_data[‘Email’] ) ? sanitize_email( $form_data[‘Email’] ) : ‘mymail’;

    I type my email “mymail” instead of the original value something with test email it now works…

    So there is indeed a bug in the form block.

    The email was now sent changing that above value.

    I have reported it to their supportmail (lets hope their own form works 😉 ) hehe

    AQuickQuestion

    (@aquickquestion)

    Thanks! That works for me as well. Great work!

    Plugin Support BSF- Mohsin Ghouri

    (@mohsinbsf)

    Hi @flamuren,

    Please ensure that you have configured SMTP on your site. Configuring SMTP is necessary for the form to send emails successfully.

    You can refer to the following link for more information on how to set up SMTP:

    https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/

    Please review this information and let us know if you have any questions or need further assistance.

    Thank you.

    Thread Starter flamuren

    (@flamuren)

    I have smtp setup and working.

    emails work from other plugins etc.

    Also please read my forum posts again. Changing the code in your plugin makes it work.

    Plugin Support BSF- Mohsin Ghouri

    (@mohsinbsf)

    Hi @flamuren,

    It seems you have also opened the ticket for the same query. Please communicate on that ticket.

    Have a nice day!

    Thread Starter flamuren

    (@flamuren)

    But in the ticket you say there is no problem with you plugin.

    you tell me I need to force sender with my smtp plugin. But all else work on my website and I cant force it since I have buddypress and job board. It will look strange.

    Plugin Support BSF- Mohsin Ghouri

    (@mohsinbsf)

    Hi @flamuren,

    I will share the feedback with the team so that we can improve this.

    Have a nice day!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘mails not being sent from the form’ is closed to new replies.