close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Help with Curl to send emails

Thread began 5/04/2018 2:43 pm by iain331081 | Last modified 5/10/2018 12:31 pm by iain331081 | 59 views | 9 replies

iain331081

Help with Curl to send emails

Hi Ray - this is something you helped out with before, but am just trying to replicate something similar in a different scenario. Probably a slightly more straightforward scenarios, as its based on a single insert rather than multiple insert.

Basically have a page where a user can add a news story into a table (product_updates), which should trigger an email to users that are connected to the lodge that the news item is about.

So the product_updates table stores the LodgeID, which should also go into the array, and the SQL uses that to return the users that are connected to that lodge via the table product_likes.

I think it must be mostly there, but I have missed something somewhere, as it doesn't seen to be sending emails. If you could have a look at the attached files, that would be much appreciated. Also would be happy to take this to a premium ticket as I know its a bit beyond the WA functionality.

The files attached are the page for adding the news item (index111.php) as well as the associated files.

EDIT: Hi Ray - I think its to do with the fact that the original was based on a multiple insert, whereas this one is just a single insert. But I'm nit sure what the syntax should be in the code for the CURL stuff. It may not even need the array if its a single insert, but just have the SQL part?

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