close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Sending email after download

Thread began 3/26/2009 9:30 am by John Langer | Last modified 3/26/2009 6:05 pm by John Langer | 1789 views | 4 replies |

John LangerBeta Tester

Sending email after download

Hi,

I've set up a file upload and download using DFP. Works like a charm.

I now want to set it up to send an email that will say that so and so has downloaded such a file. I have no problem in organising that, I've done it before.

It's the trigger to send the email that I'm having difficulty with.

I have a page that contains a link together with a parameter for the file. This passes to the download page where I have the DFP behaviour. On this page I've set up UE. I've set the trigger to send the email on a successful download.

Trouble is it doesn't send the email.

Is there a tutorial on how to do this specifically anywhere?

Many thanks.

Sign in to reply to this post

Ray BorduinWebAssist

Are you redirecting after the insert or upload before the email is sent? Make sure you aren't and the page redirect is only specified in the UE server behavior. This is usually the problem when emails aren't sending as you describe although I can't really be sure.

Sign in to reply to this post

John LangerBeta Tester

Hi Ray,

Thanks for the reply.

The DFP behaviour is to download a file.

I've found that if I move the UE behaviour above the DFP behaviour and change the trigger to "Send if recordset is not empty" then it sends OK. So some success there.

In the trigger events list however there are two that say "download 1 successful" and "download 1 failed" I really only want to send the email if the download is successful. I know the recordset won't be empty. So in other words the email is currently sent whether the file is actually successfully downloaded or not. Defeats the object really.
I've tried using the trigger of download successful but again it's not sent.

Neither behaviours have a redirection in them.

However if there is no other solution I'll live with what I've got.

Many thanks for pointing me in the right direction.

Sign in to reply to this post

Ray BorduinWebAssist

Download basically turns the page into the file, so you can't really process after because the file isn't really downloaded until the page is done and the file is sent to the user and the code stops running.

Sign in to reply to this post

John LangerBeta Tester

OK Ray, I'll just have to make do. It works OK and the client seems happy.

Thanks for trying to think of a way.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...