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

datassist pages and email

Thread began 11/19/2015 10:27 am by Jamie | Last modified 11/24/2015 6:39 pm by Ray Borduin | 525 views | 17 replies |

Jamie

datassist pages and email

Hi Ray

have set an order update page which am using as a plugin on the orders_detail.php page which updates the order status (shipped, cancelled etc)

When I created the page in DA I set it to email on update. Working fine, but is there any way to modify the content of the email using the update status and product order number in an email similar to the order receipt that gets sent out when someone buys something?

Thanks

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

Yes... you can update the email body and add whatever content you want. You can use an IF statement to check the submitted status and have different email body based on it.

Sign in to reply to this post

Jamie

├żanks mate. is there a tut anywher on how to go about that?

Sign in to reply to this post

Ray BorduinWebAssist

Just open the email body page and update it like you would any .php page.

Sign in to reply to this post

Jamie

Great, have got it all up and running and working except that although the email is going to addresses that have manually been entered in the 'to', 'cc' or 'bcc' fields if the email address is being added from the database it doesnt go through to that address (although it does get sent to any other that have been ,manually entered)

What coul dbe going wrong?

Sign in to reply to this post

Ray BorduinWebAssist

Are you sure the recordset is returning the email address properly? The code looks ok, the only thing I can think is that the Recordset may not be returning a valid email address to begin with.

Sign in to reply to this post

Jamie

have tried 3 different emails (all mine) and none of them are receiving...

Sign in to reply to this post

Ray BorduinWebAssist

Like I said... are you sure the recordset is returning the email address properly?

I just took another look... your recordset has:
SELECT OrderID, Order_Status FROM orders

you will need to add the Email Address to the SELECT statement if you want to reference it in the TO line.

Sign in to reply to this post

Jamie

sorry, I had attached an older version of the file... the current one just uses * in the SELECT

Sign in to reply to this post

Ray BorduinWebAssist

Try dumping the recordset row to see if it has the email address just before the email sends... and attach a current version of the page if you want me to look at it.

Sign in to reply to this post
loading

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...