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

Help with CURL to send emails

Thread began 1/06/2017 1:47 pm by iain331081 | Last modified 1/10/2017 2:28 pm by Ray Borduin | 201 views | 2 replies |

iain331081

Help with CURL to send emails

Hi Ray - hope you had a good Christmas and New Year.

You helped out a few months ago with setting up an array to generate an email list using CURL.

I have just been using it on another page, but can't seem to get it working here - its not sending any emails. I have attached the pages here - if you could have a quick look and see if you could spot anything that would be a great help.

Sign in to reply to this post

Ray BorduinWebAssist

I don't see any obvious problems. I'd probably have to debug it.

To do that I'd probably

1) set the CURLOPT_RETURNTRANSFER value to true
2) increase the CURLOPT_TIMEOUT value to 60
3) set the execute value to a variable and dump it to the page like:
$curlReturn = curl_exec($ch);
var_dump($curlReturn);
die();
4) on the send email page, write the query to the page by removing the comments in front of line 39

That should give you the query used to return the results. Try executing it in php MyAdmin directly and see if it returns the results you expect. I suspect it may shed some light on where the problem is, but you would work from there to figure out the actual problem.

I could help with this in a premier support ticket.

Sign in to reply to this post

iain331081

Thanks Ray - I'll have a look at this and get back to you. I also need to remind myself if there was some domain specific permission granted on the Amazon SES thing that the emails are routing through.

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