• Resolved Hitokage

    (@hitokage)


    Hello! We’ve been using cforms for quite some time on our wordpress site and would like to continue to do so. Unfortunately, we now need our form to send to a CRM email in XML format for a lead system. Is cform capable of doing this?

    P.S. – I attempted to use the cforms forums on the deliciousdays site only to discover you cannot make an account to get support, so I hope this is an okay way to try and get some help. Thank you!

    https://wordpress.org/plugins/cformstable/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Martin Tod

    (@mpntod)

    I’m not an expert in CForms, but I don’t see why you couldn’t write an Admin Text Email using the {field label} values that you were after. You’d want to unselect Enable HTML and unselect Include user input at the bottom of the admin email and then have an email that looked something like the following:

    <?xml version="1.0" encoding="UTF-8"?>
    <?adf version="1.0"?>
    <adf>
        <prospect>
            <requestdate>{Date} {Time}</requestdate>
            <customer>
                <contact>
                    <name part="first">{Firstname}</name>
                    <name part="last">{Surname}</name>
                    <phone>{Phone}</phone>
                    <email>{Email}</email>
                </contact>
            </customer>
            <vendor>
                <contact>
                    <name part="full">{Site Contact}</name>
                </contact>
            </vendor>
        </prospect>
    </adf>

    Martin

    Thread Starter Hitokage

    (@hitokage)

    Martin,

    That’s a great idea! Thank you very much – I believe this could work!

    Plugin Author Martin Tod

    (@mpntod)

    Best of luck! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Need to Send Email as XML’ is closed to new replies.