notification on file upload (FormBuilder) without attachment

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
krajicek
New Member
New Member
Posts: 9
Joined: Mon Nov 29, 2010 2:10 pm

notification on file upload (FormBuilder) without attachment

Post by krajicek »

Hi,

already spent some hours on searching this forum and web for workaround on how to have email notification sent upon file upload (via FormBuilder).
notification should contain the uploaded file name & path but i don't want the uploaded file itself attached to it.

could you please give me some help on how to disable the attachment?
i've tried "Email Results to set Address(es)" but it post also attachment.
also tried "Suppress filename in emails and forms the end user will see" checkbox but it will disable the file name in notification email at all.

----
CMSMS 1.9.4.2
FormBuilder 0.7

apache2handler
PHP 5.2.17
MySQL 5.0.92

thank you in advance for help
krajicek
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: notification on file upload (FormBuilder) without attach

Post by Coldman »

Can you post your email template for your Email Results to set Address(es) ?
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
krajicek
New Member
New Member
Posts: 9
Joined: Mon Nov 29, 2010 2:10 pm

Re: notification on file upload (FormBuilder) without attach

Post by krajicek »

Coldman wrote:Can you post your email template for your Email Results to set Address(es) ?
here we go:

FormBuilder Submission

Date of Submission: {$sub_date}
Your server: {$sub_host}
IP address of person using form: {$sub_source_ip}

-------------------------------------------------

{if $fld_29 != "" && $fld_29 != "[unspecified]" }File: {$fld_29}{/if}
{if $fld_31 != "" && $fld_31 != "[unspecified]" }Description: {$fld_31}{/if}


kr
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: notification on file upload (FormBuilder) without attach

Post by Coldman »

What happens i you checking "Suppress filename in emails and
forms the end user will see:" under advanced option for the File Upload Field?
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
krajicek
New Member
New Member
Posts: 9
Joined: Mon Nov 29, 2010 2:10 pm

Re: notification on file upload (FormBuilder) without attach

Post by krajicek »

Coldman wrote:What happens i you checking "Suppress filename in emails and
forms the end user will see:" under advanced option for the File Upload Field?
I receive message without the uploaded file attached but also whole line containing uploaded file path and name is missing.

e.g.

FormBuilder Submission

Date of Submission: Tue, 02 Aug 2011 16:49:40 +0200
Your server: http://www.domain.com
IP address of person using form: xx.xx.xx.xx

-------------------------------------------------

Description: test 1649


kr.
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: notification on file upload (FormBuilder) without attach

Post by Coldman »

Ok I did take a quick look at the module source and it's hardcoded stuff. You could probably write a UDT to fix it.

Do you really need to use Formbuilder? Else I would suggest that you use Uploads module http://dev.cmsmadesimple.org/projects/uploads.
Very easy to use and it doesn't attach the file in email.
Just add any field definitions you want, add receiver under Preferences "Send upload notification to:" and at last modify your templates.

/Coldman
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
krajicek
New Member
New Member
Posts: 9
Joined: Mon Nov 29, 2010 2:10 pm

Re: notification on file upload (FormBuilder) without attach

Post by krajicek »

Coldman wrote:Ok I did take a quick look at the module source and it's hardcoded stuff. You could probably write a UDT to fix it.

Do you really need to use Formbuilder? Else I would suggest that you use Uploads module http://dev.cmsmadesimple.org/projects/uploads.
Very easy to use and it doesn't attach the file in email.
Just add any field definitions you want, add receiver under Preferences "Send upload notification to:" and at last modify your templates.

/Coldman
just back from holidays. thank you Coldman, will consider the use of Uploads module

kr
Post Reply

Return to “Modules/Add-Ons”