Viewing 13 replies - 1 through 13 (of 13 total)
  • Please include a link to your Contact Form 7 form plus all your input in the Form and Mail sections of the CF7 interface. If others here are able to understand your actual problem, they may be able to offer a possible solution.

    In the mean time, see File Uploading and Attachment for more details on file upload and attachment – probably something might have gone wrong in your set up.

    Thread Starter ITtechgirl

    (@ittechgirl)

    code for form:

    <b>Lasa-ne cateva informatii de contact</b>
    <table>
    <tr><td>Numele tau*: </td><td>[text* your-name]</td></tr>
    <tr><td>Numele firmei*:</td><td>[text* numele-firmei]</td></tr>
    <tr><td>CUI firma*:</td><td>[text* CUI-firma]</td></tr>
    <tr><td>Numar de telefon*:</td><td>[text* telefon]</td></tr>
    <tr><td>Adresa de e-mail*: </td><td>[email* your-email]</td></tr>
    </table></br>
    <b>Avem nevoie de cateva informatii despre produs</b>
    <table>
    <table>
    <tr><td>Incarca desenul tehnic*: </br>(dimensiune maxima fisier: 5mb; </br>format:png,jpg,doc,pdf)</td><td>[file* your-file filetypes:png|jpg|pdf|doc limit:5mb]</td></tr>
    <tr><td>Instructiuni suplimentare/observatii:</td><td>[textarea your-message 20x4]</td></tr>
    <tr><td>
        <table><tr><td colspan="2" style="text-align:center">Introdu codul de verificare</td></tr>
            <tr><td align="center">[captchac captcha-1 size:l]</td><td align="center">[captchar captcha-1 4/4]</td></tr>
        </table>
    </td>
        <td align="center">[submit "Trimite solicitarea >>"]</td>
        </tr>
    <tr><td colspan="2"></br></td></tr>
    <tr><td colspan="2" style="text-align:center"><b>Nota: Toate campurile marcate cu * sunt obligatorii</b></td></tr>
        </table>

    this is how the mail part looks: http://prntscr.com/8gvjgu

    here is the form: form

    I don’t see what is wrong…

    I have tested your form and sent an email with a .jpg file. I had the “Your message was sent successfully. Thanks.” confirmation.

    The green Success message and not receiving any error messages is a very clear indication that CF7 is sending the email.

    So your email is probably being seen as spam somewhere in the email process. This is usually due to email headers – in particular the From email address used. Consider adding a From email address.​

    Emails can be considered spam for a whole host of reasons and get rejected at many points in the email process in addition to your spam folder.

    See Contact Form 7 Email Issues – this links to a much more comprehensive article which also covers emails being considered spam.

    See also Best Practice to Set Up Mail.

    Thread Starter ITtechgirl

    (@ittechgirl)

    I have not received any mail. and in folder I don’t have any attachment.
    Where should I change and what? Please… I will appreciate it.

    According to your screenshot, your From: field is incorrect. You have written

    [your-name]

    But you haven’t specified the email part. The From field must contain the email address, or the email address with a name. Consider putting your email address here, or your visitor’s email address

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

    or

    Hirkadia Fasteners <no-reply@hirkadia.com>

    Also, hirkadia.com has no SPF record. When sending email, to Google especially, no SPF increases the chance of being flagged as Spam. Please read WordPress emails are sent but not received.

    Thread Starter ITtechgirl

    (@ittechgirl)

    The problem is with attachments.
    If there is attachment, mail is not coming. File does not appear in folder.
    If there is no attachment, mail comes.

    Also, putting more than [your-name] in FROM in the mail settings, makes email not to deliver.
    The funny thing is that I have the same plugin, on another site on the same hosting platform, which I set up by the book and that one works, perfectly.

    I don’t get it anymore. I don’t know what could be faulty.

    No. Attachments merely trigger the problem. They are not the actual problem. It’s just the first way you’ve found to predict the symptoms.

    Also, putting more than [your-name] in FROM in the mail settings, makes email not to deliver.

    That’s a huge red flag, and demonstrates again that your problem is not the attachments. The Mail From is required as per RFC2821, and CF7’s From field determines the Mail From:

    MAIL FROM:<reverse-path> [SP <mail-parameters> ] <CRLF>

    I suggest you install this SMTP plugin: Postman SMTP It will allow you to monitor the conversation between your website and your email server and properly determine what the problem is. Or allow one of us to diagnose it for you.

    You can’t expect Contact Form 7 to be reliable until your email is reliable.

    Thread Starter ITtechgirl

    (@ittechgirl)

    Well… I installed Postman SMTP and now it is not working at all giving this error:
    Failed to send your message. Please try later or contact the administrator by another method.

    I don’t know what more to do.

    Hey, how do I create a similar form of html code (html table code) using the but simpler.
    E.g.
    Name
    e-mail
    topic
    Message
    reCAPTCHA
    Send / reset

    Thank you!

    Thread Starter ITtechgirl

    (@ittechgirl)

    do the table and then fill it with the form fields.

    Thank you for resistance. I’m a beginner so I do not know html code, but you ITtechgirl code looks nice πŸ™‚ I would like to make a similar but “normal” πŸ™‚

    I don’t know what more to do.

    Check the Email Log in Tools > Email Log and post the error here so we can direct you on what to do.

    Thread Starter ITtechgirl

    (@ittechgirl)

    I gave up with contact form 7 and installed formcraft 3 (at least this works with what I need).
    Thanks all for the support.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘contact with attachament not sending’ is closed to new replies.