close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

no emails sent

Thread began 12/08/2009 1:28 pm by i.edwards384429 | Last modified 12/09/2009 5:47 pm by Jason Byrnes | 1288 views | 9 replies |

i.edwards384429

no emails sent

Hi

from a previous thread I modified the mail_php file

PHP:
---------
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader, "-f".$mailFrom);
---------

for the security assist pages, make the same code change to the WA_SecurityAssist/Mail_PHP.php file.

***************

Since the modification (thanks for that) the email side of the user registration solution works perfectly however the pages created by the security wizard do not send emails.

I've attatched the php file can you see anything wrong

thanks

Ian

Attached Files
Mail_PHP.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Please send a copy oif the security assist email password page so I can see how it was configured.

Sign in to reply to this post

i.edwards384429

files

Hi Jason

I've attached the files you might want to look at

thanks

Ian

Attached Files
WA_SecurityAssist.zip
Sign in to reply to this post

Jason ByrnesWebAssist

It doesn't look like you included the Email Password page. I need to look at the code on the page that you applied the email password server behavior.

Sign in to reply to this post

i.edwards384429

upload file

Hi Jason

is this the file you want?

thanks

Ian

Attached Files
photographers_EmailPW.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Yes, that's the page I needed.

Interesting it looks like it is configured properly.

When you submit this page, are you redirected to the photographers_LogIn.php page?

If you are not redirected to the photographers_LogIn.php page, change line 25:

php:
"failRedirect" => "photographers_EmailPW.php",




to:

php:
"failRedirect" => "photographers_EmailPW.php?failed=true",



and try again. when the page reloads, do you see the failed=true query string on the end of the address in the address bar?


try deleting the WA_SecurityAssist/Mail_PHP.php file from the server, then re uploading the modified one to make sure the changes are being uploaded to the server.

Sign in to reply to this post

i.edwards384429

update

Hi Jason

OK I changed the code as you said and when I fill in the email request I am not sent back to the login page but I do see in the address bar

failed=true

Where do I go from here?

Shall I delete the pages and start again?

cheers

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

So that means that it is not finding the email address you are entering in the database.


Check the following:
Make sure you are using an email address the database.

Double check the UserEmail column in the photographers table to make sure that email addresses are being stored properly when a user registers.

Sign in to reply to this post

i.edwards384429

update

Hi Jason

you were correct is that the info was not be ing written to the database.

It now is and the email is formatted correctly.

I filled in the password reminder and got all excited because it returned me to the logon screen.

However still not email received.

Off to beddie byes here now 10pm a

any ideas where I go from here

thanks

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

Try leaving the From Display Name blank in the Email Password server behavior.


Keep in mind that if you edit the server behavior, the mail_PHP.php file will be overwritten, you will need to add the -f argument to the mail() function call again.


make sure the email is not being trapped as spam also.

If all else fails, check with the host. Ask them to look into the SMTP server error logs to see why the server is not relaying the email.

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