Support » Plugin: Contact Form 7 » Illogical/confusing mail non-delivery?

  • Resolved chappie

    (@chappie)


    I’m having a weird problem with a CF7 form in a new website and my brain goes into meltdown when I try to work it out logically — so any help could be a life-saver.

    My form works perfectly – but only with “To:” addresses it likes. If I give it an address it doesn’t like, the form appears to send successfully but it never arrives.

    For example, “To:info@mac.com” works perfectly; but “To:info@beautyandsoul.net” doesn’t arrive (nor does it arrive into a spam or junk mail folder).

    I would assume that there is a problem with a host or server somewhere except that the malfunctioning address works perfectly when a Mail (2) acknowledgement email is sent to the same address (ie when the site owner sends a test form to himself, he always receives the Mail (2) email but never gets the data email).

    So, it seems that the host/server doesn’t have a problem with that email address after all. But where else could the problem lie?

    I’ve read this recent thread but don’t know if it relates to the illogical scenario I am seeing. But does it indicate that a number of people are suddenly seeing non-arrival problems for some common reason?

    https://wordpress.org/plugins/contact-form-7/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    How have you set up Mail and Mail(2)? Especially, what are in their From fields?

    Thread Starter chappie

    (@chappie)

    Mail:
    To: info@beautyandsoul.net
    From: [your-name] <[your-email]>
    Subject: [your-subject]
    Additional headers: empty
    HTML: unchecked

    Mail(2)
    To: [your-name] <[your-email]>
    From: <info@beautyandsoul.net>
    Subject: Re: [your-subject]
    Additional headers: empty
    HTML: unchecked

    Mail Content:
    From: [your-name] <[your-email]> [tel-77]
    Subject: CONTACT FORM – [your-name]

    Message Body:
    FROM: [your-name]
    EMAIL: <[your-email]>
    TEL:[tel-77]
    ——————–
    TREATMENT ENQUIRY: [treatment-choice]
    MESSAGE:
    [your-message]
    ——————–
    HOW FOUND:
    [menu-428]


    This e-mail was sent from a contact form on Beauty & Soul (www.beautyandsoul.net)

    Mail(2) Content:
    Dear [your-name],

    Thank you for contacting Beauty & Soul.

    I will reply to you personally as soon as I am free.

    With best wishes,

    Amber
    Tel: xxxxxxxx
    http://www.beautyandsoul.net

    (Line breaks and spacing have been copied and pasted)

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try changing the From field value of the Mail to <info@beautyandsoul.net>.

    Thread Starter chappie

    (@chappie)

    Thanks but I must be misunderstanding you. The Mail From field is [your-name] <[your-email]> – ie the customer’s email address. Why would I want to replace that with the site owner’s email address?

    If you meant the To field, I have already tried enclosing it in angled brackets, without success.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    No, I meant the From field. It’s highly possible that the host treats the mail as spam because of the sender address that has no relation with your domain. It looks like mail spoofing.

    Thread Starter chappie

    (@chappie)

    Thanks again for your help but I think this problem has now been resolved.

    It seems that when this web domain was transferred to a new host – without also transferring the domain email which is still hosted by the previous host – the new host forgot to set domain-generated email to route remotely, ie to the previous host. As a result, it was trying to deliver the mail internally and hence, it never arrived. (Worryingly, it didn’t generate a bounce message though or any clue about what was happening.)

    The new host has now set mail to point to remote and all seems well.

    This still leaves an unanswered question, ie how did the self-addressed Mail(2) acknowledgement emails manage to get delivered to the same email address, albeit generated from CF7 tags? I may be able to live without an answer but it makes my head hurt.

    Thanks again.

    Maybe try installing the WP-Mail-SMTP maybe and get a dedicated relay server from the hosting company. I had some issues which were fixed through that

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Illogical/confusing mail non-delivery?’ is closed to new replies.