PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Plain Text notifications are adding an html attachment

  1. arcimedia
    Member

    We are importing our admin email notifications into salesnexus and they will not go through because they have an html attachment. They are set up to be plain text - so I am not sure why they are adding the attachment. We even added this code

    add_action("gform_notification_format", "set_notification_format", 10, 4);
    function set_notification_format($format, $notification_type, $form, $lead){
    
        if($notification_type == "admin")
            return "text"; //setting admin notifications as text
        else
            return "html"; //setting user notifications as text
    }

    to our functions.php file. Can you tell me how to get rid of the attachment?

    Posted 13 years ago on Wednesday January 2, 2013 | Permalink
  2. Are you sending those to one specific email address, then importing them from there into salesnexus, or are you sending the admin notification direct to salesnexus?

    I have not had that happen when using plain text notifications. Can you try with a different admin email address on a different email provider or email client to see if it is something on that end?

    Posted 13 years ago on Wednesday January 2, 2013 | Permalink
  3. arcimedia
    Member

    They are being routed based on conditional logic (location chosen) to different email addresses and to an email in salesnexus at the same time. We have tried different email addresses for salesnexus. The "rediscover you" test form is now being imported correctly. The two other forms - Contact and Appointment are still sending an html attachment. If necessary I can give you login credentials so you can take a look.

    Posted 13 years ago on Thursday January 3, 2013 | Permalink
  4. I was suggesting using a different email address for the admin notification, so you could look at it in your email client, rather than at salesnexus. Are you already doing that and still receiving a two part email message with HTML?

    If you would like me to take a look, please export one of the problem forms as XML and email it to me at chris@rocketgenius.com - and I will use the code from this post added to my functions.php unless you have other code you're currently using.

    Thank you.

    Posted 12 years ago on Thursday January 3, 2013 | Permalink
  5. arcimedia
    Member

    Just sent you our contact form for you to take a look at.

    Posted 12 years ago on Monday January 7, 2013 | Permalink
  6. arcimedia, I did not receive your email today. Please be sure to send it to chris@rocketgenius.com

    Thank you

    Posted 12 years ago on Tuesday January 8, 2013 | Permalink
  7. arcimedia
    Member

    Just sent it again.

    Posted 12 years ago on Tuesday January 8, 2013 | Permalink
  8. I did not receive this one either (not in spam). Please try my gmail account chrishajer@gmail.com

    Posted 12 years ago on Tuesday January 8, 2013 | Permalink
  9. arcimedia
    Member

    forwarded it to your gmail

    Posted 12 years ago on Wednesday January 9, 2013 | Permalink
  10. Got it this time. Sorry for the inconvenience. I'll take a look at it tonight.

    Posted 12 years ago on Wednesday January 9, 2013 | Permalink
  11. Doug, I installed your form, configured the email notification to go to me, added the code to change the admin notification to text instead of HTML, and then I submitted. I submitted once with the filter active to change to text, and one with the default of HTML. I saved the source of those emails. Neither had an attachment. And you can see the content type changed in the text one vs the html one. (I emailed the email sources to you separately.)

    I also submitted the form with your address to get the text notification. Does it have an HTML attachment? What email client are you using, if so? I am using the web interface for gmail.

    Posted 12 years ago on Wednesday January 9, 2013 | Permalink