MX Send E-mail Forum :: Set template when send page by email

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
GSquared
05-11-2007 11:53:28 GMT +2

Hi again

Just another thought.. I need to set a template for the page area being sent by email.
In the same way that you can on the insert/update trigger send email.

Is this poss?

Thanks
Gareth

Back | Reply | Quote | Top
Ionut MOICIANU
05-11-2007 17:36:22 GMT +2

Hi,

I'm afraid this feature is not supported for "Send Page Section By E-mail" behaviour.

Ionut

Reply | Quote | Top
GSquared
05-11-2007 18:47:38 GMT +2

Hi

Can you point me in the direction of the correct files. i have worked on a number of your files to acheive the desired effect in the past but not started on this one.

It would certainly be very useful.. My example:

I have an extremely complex page where the content comes from multiple databases and tables to build the final confirmation screen, pdfs for an event manager. It just isn't possible to regenerate that code specifically for an email even though it is only some 900 lines of code. The client constantly makes changes to this section...

What i need to do is output the confirmation screen into a email and send the exact information to the client.

My solution at the moment is to have an intermediate page calling the final page, including the header and footer information then forwarding straght onto the final page.

Any thoughts on how to improve this?

Thanks
Gareth

Reply | Quote | Top
Ionut MOICIANU
05-14-2007 10:30:17 GMT +2

Hello Gareth,

I think you can do this simpler. On the confirmation page, I presume you have a Submit button. You can select the whole content of the page and apply "Send Page Section By E-mail" behaviour.

Then, go into the code and change:

$sectemailObj->Execute();

to:

if (!empty($_POST['submit'])){
  $sectemailObj->Execute();
}

This will send all page content by e-mail when the page is confirmed (submitted).

I hope this helps.

Ionut

Reply | Quote | Top
GSquared
05-15-2007 17:40:53 GMT +2

Hi Inout

Your idea is sound but won't work for my problem i don't think.

The header and footer are different for the email and the website. The intermediate page is the email shown on the screen then it kicks them to the website with the navigation.

What would be useful is if on the final page (with the wrong header and footer) that the function you specified could have a different header and footer applied to it... but that comes back to a template...

Any Thoughts?
Thanks
Gareth

Reply | Quote | Top
Ionut MOICIANU
05-16-2007 19:11:15 GMT +2

I am sorry but I don't have a better solution :(

Ionut

Reply | Quote | Top
GSquared
05-24-2007 21:18:41 GMT +2

Hi Ionu

Thanks for your response anyway. It seems to be working for the moment, I will re-address if the clients is unhappy.

Thanks
Gareth

Reply | Quote | Top
© Adobe Systems Romania. All rights reserved.