Support » Plugins » Contact Form 7 attach file email is encoded

  • Hi there

    I am wanting to use the Contact Form 7 plugin to send an email and also attach a file. For some reason the attached file is coming through encoded (lots of lines of random numbers & letters). I have made sure the email is being sent as HTML.

    I read something on another forum about base64 encoding. Not really sure what this means. Can anyone shed any light on why this is doing this and/or solve this problem.

    Many thanks in advanced

    Duncan

Viewing 13 replies - 1 through 13 (of 13 total)
  • What kind of file do you attach? Image? Text?

    I have seen that Gmail wrongly converts encoding of attached text file. If you use Gmail, I’d suggest trying using another mail client.

    Base64 encoding is normal for attached mail. You don’t have to be concerned about it.

    Thread Starter duncmorley

    (@duncmorley)

    I am just trying to attach an image. I have tried various email addresses and clients and keep getting the same result.

    Thread Starter duncmorley

    (@duncmorley)

    This is what I am receiving http://www.duncanmorley.co.uk/email.jpg
    Any help would be greatly appreciated.

    I’m getting the same too. It was working fine until about a week ago. Changed the receiving email to Google, Yahoo, Hotmail and back to Outlook, still all the same!!!
    All the attachments have been word docs and PDF. No idea why it happenned!

    Thread Starter duncmorley

    (@duncmorley)

    Very frustrating as I really need that upload file functionality. Does anyone else know of any other file uploading plugins for WordPress?

    Thread Starter duncmorley

    (@duncmorley)

    Anyone?!?!?!?!?

    I checked http://www.duncanmorley.co.uk/email.jpg and found that mail body contains some header lines which shouldn’t be there. This is often caused when something, maybe one of other plugins, inserts newline character in wrong place. Once try deactivating all other plugins and switching to the default theme for ruling out such cases.

    Thread Starter duncmorley

    (@duncmorley)

    I have deactivated every plugin and reverted to the twentyten theme and default admin theme. I am still getting the same results. Check here: http://www.duncanmorley.co.uk/email2.jpg.

    Then there should be something changing your mail header outside WordPress. Contact your hosting server’s support and ask if they know anything relating that. They should have log of mail.

    Thread Starter duncmorley

    (@duncmorley)

    I’ve been told is it possible to get the contact form plug-in to use SMTP to send email rather than PHP mail()? If so, tell it to relay through an IP address unauthenticated and it should be able to relay the messages including attachments correctly.

    Is this possible with this plugin?

    There are some plugins for SMTP, for example “WP-Mail-SMTP”, but not sure if it works on your host.

    eieio

    (@eieio)

    @duncmorley
    How did you even get the file attachment to send (even though encoded)?

    What do you put in the “File attachments:” field under Mail 2?

    Or where do you put the file information to attach? I’m trying to create an auto-responder with an attachment (no uploading via form)

    Thread Starter duncmorley

    (@duncmorley)

    Not sure you can do this. The attachment field is not meant for you to attach stuff to but for the user filing out a form to send files to you.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Contact Form 7 attach file email is encoded’ is closed to new replies.