• Resolved jonelp

    (@jonelp)


    I swear I feel like I’ve tried all sorts and I still can’t fix this syntax error around my ‘from’ field in the mail one option.

    Tried the following;

    [first-name] [last-name] <your-email>
    [first-name] [last-name] <[your-email]>
    <[your-email]>
    [your-email]
    <your-email>
    [your-name] <[your-email]>
    [your-name] <your-email>

    This is getting BEYOND tedious now. Any helpful suggestions? Would appreciate all the help I can get with this one.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • barnez

    (@pidengmor)

    Use:

    From: [your-name] <wordpress@your-domain.com>

    Or:

    From: [your-name] <noreply@your-domain.com>

    (where your-domain.com is the domain where the form is use)

    Then, so you can reply, in ADDITIONAL HEADERS use:

    Reply-to: [your-name] <[your-email]>

    Thread Starter jonelp

    (@jonelp)

    No such luck Barnez

    It’s still coming up with syntax errors. I’ve attached a screenshot of the issue I’m still having (and seem to be having on other forms).

    https://imgur.com/delete/IoC52JbC449RFIc

    What I’m still trying to get my head around is the domain part. How does that work even though I’m looking to recieve emails from other people outside my domain/wp?

    Thread Starter jonelp

    (@jonelp)

    Okay I think I’ve fixed the ‘from’ syntax error but now I have another on in the ‘additional headers’ section. Please see attachment.

    https://imgur.com/delete/EiPSphjdWjSoX5C

    barnez

    (@pidengmor)

    In additional headers, try:

    Reply-to: [first-name] [last-name] <[your-email]>

    If you still have a syntax error, make sure that in the FORM these fields are all required (*). For example:

    [text* first-name]
    [text* last-name]
    [email* your-email]
    Thread Starter jonelp

    (@jonelp)

    All seems to be working fine (for now). Brilliant, thank you so much for your help barnez!!!

    barnez

    (@pidengmor)

    Happy to hear that you’re up and running.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Contact Form From Email Syntax Error’ is closed to new replies.