We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Attaching XML in FreeForm

Development and Programming

Jack McDade's avatar
Jack McDade
425 posts
16 years ago
Jack McDade's avatar Jack McDade

I’m using the FreeForm module for a client’s site and need to have an XML attachment go along with the notification email. Example:

<InformationRequest>
<First_Name>John</First_Name>
<Last_Name>Smith</Last_Name>
<Email>[email protected]</Email>
<Zip_Code>12345</Zip_Code>
</InformationRequest>

It seems pretty easy but there’s no way i can find to have a non-user initiated attachment go along with the email. Is there any native way to do this without hacking the module?

Thanks everyone!

       
gridonic's avatar
gridonic
231 posts
16 years ago
gridonic's avatar gridonic

Have a look at our DC FreeForm GeoIP extension, we’re attaching something to the

$msg

variable by using a hook provided by freeform (at least in the version described in our post, you’ll have to recheck whether the latest version provides the hook, I did not find in FreeForm’s CHANGELOG).

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.