email attachments

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am
Location: London

email attachments

Post by chrisl »

cmsms 1.2
FormBuilder 0.4.4

With cmsms 1.2 and FormBuilder 0.4.4 email contact forms work very well—I'll take this chance to thank everyone involved for all the hard work.

I help out some charitable organisations who are still on servers using php4 and the file upload (for email attachments) seems to only work with php >=5 but for those still on 4 you can make a very quick mod.

Go to Formbuilder module classes/DispositionEmailBase.class and find

Code: Select all

if( get_class($others[$i]) == 'fbFileUploadField' )
and change to

Code: Select all

if( get_class($others[$i]) == 'fbfileuploadfield' )
The reason is that small changes have been made to the php get_class function since 5.0.0
plank0
Forum Members
Forum Members
Posts: 60
Joined: Wed Feb 07, 2007 1:52 pm

Re: email attachments

Post by plank0 »

o ein "u"  ::) danke..
Acornweb

Re: email attachments

Post by Acornweb »

Hi chrisl,

A big thanks for solving this particular problem!
Post Reply

Return to “Modules/Add-Ons”