• Resolved ryanbowden

    (@ryanbowden)


    Hi,
    I have set up a contact form and it works, however is it a email that someone used to recommend someone and has a voucher in it. This will just be a normal image.

    I put the image into the media library and added the following code to the mail message body.

    <img src="https://www.bodybackup.co.uk/wp-content/uploads/Screenshot_3.png"  />

    Once i add that code the emails never send! to outlook or work email. Its like something that image code does breaks the output.

    I do have the “Use HTML content type” set to true.

    Does anyone know why the emails never arrive?

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 6 replies - 1 through 6 (of 6 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.

    Thread Starter ryanbowden

    (@ryanbowden)

    Hi i can’t Link to it as it not live but here all the content i have.

    in the input area

    [text* your-name  placeholder "Your name"]
    [email* your-email class:your-email placeholder "Your email"]
    
    [text* friends-name placeholder "Friends Name"]
    [email* friends-email placeholder "friends email"] [submit class:recommend-submit "Send"]

    Mail

    To: [your-email]
    From: [email protected]
    Subject: Thank You Voucher at Body Back-Up
    Additional headers: Bcc: [email protected]

    Message Body:

    Dear [your-name],
    
    Thank you for recommending [friends-name] to Body Back-Up. Please find below a £10 voucher off your next appointment to show our appreciation. Please bring this email (with voucher) along with you to your next consultation. (Expiry: 3 months)
    
    <img src="https://www.bodybackup.co.uk/wp-content/uploads/Screenshot_3.png"  />
    
    The Body Back-Up Team
    Maidenhead - <a href="tel:01628624544">01628 624 544</a>
    London W9 (Maida Vale) - <a href="tel:02089690247">020 8969 0247</a>

    Mail 2:

    To: [friends-email]
    From: [your-name] <[your-email]>
    Subject: Initial Consultation Discount at Body Back-Up

    Message body:

    Dear [friends-name]
    
    [your-name] has recommended you to have a look at our website, <a href="https://www.bodybackup.co.uk">www.bodybackup.co.uk</a>. Also please find below a £10 voucher for you to use at Body Back-Up. Please bring this email (with voucher) along with you to your first consultation. (Expiry: 1 month)
    
    <img src="https://www.bodybackup.co.uk/wp-content/uploads/Screenshot_2.png"  />
    
    The Body Back-Up Team
    Maidenhead - <a href="tel:01628624544">01628 624 544</a>
    London W9 (Maida Vale) - <a href="tel:02089690247">020 8969 0247</a>

    The HTML content type is set to true,

    When someone submits it spins round and goes green find however the emails never receives plus it never gets a bounce back. (Not even in junk)

    If you need any more information let me know.

    RE: When someone submits it spins round and goes green find however the emails never receives plus it never gets a bounce back.

    The green success message 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) or email content.

    I??n your case this could be due to the inclusion of the image file. Have you tested if you can receive emails without the image file.

    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.
    ??
    Your use of From: [your-name] <[your-email]>?? in Mail 2 is a common cause of emails being considered as spam.

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

    Thread Starter ryanbowden

    (@ryanbowden)

    I understand that but i am sending it to my company email address which the server has the spam filtering turned off and we have checked the webmail. and it is not in there.

    Also sent it to an outlook email address. which again never gets there.

    It is weird how the thing works but the minute i put in the <img> tags it stops working.

    I understand mail2 is set up wrong and needs to be changed but mail1 should work this is just confusing why that one does not work. I personally think its a bug.

    Because it not like that [email protected] even receives a bounce back as it can’t be delived for spam or what ever reason.

    You are probably mistaken to focus on spam issues connected with your own email server and junk folder. There are a lot of places, other than your junk folder, where emails can be trapped as spam.

    I would suggest you try sending some emails to an ext??ernal provider like Gmail.

    ????See also Best Practice to Set Up Mail

    ??RE: It is weird how the thing works but the minute i put in the [img> tags it stops working.

    Not wierd to me – many email systems are setup to not allow ?any images in emails.

    Thread Starter ryanbowden

    (@ryanbowden)

    Hi Thank you, I was unaware of that sort of spam filter i can see why they do it.

    I added quite a bit of text to the form that send to the users and that solved the problem.

    Thank you for helping.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Images Causing emails not to send’ is closed to new replies.