Email Password Not working
Cant seem to get the email password to send. The page verifies and says the email has been sent but nothing arrives.
Cant seem to get the email password to send. The page verifies and says the email has been sent but nothing arrives.
Things to check:
You may need to ask the host to look into the smtp server error logs to see why the email is not being sent.
You might also tell us what operating system, local testing server or remote host, version of Security Assist and Dreamweaver version..
Good stuff Office guy, just a few other things to add on:
In the Email Password Server Behavior, make sure the Look up column is set to use the email Column.
try adding the following at line 1 of your page:
<?php if(!session_id()) session_start(); ?>
Still cant get this to work. I think the problem is on my server and the fact that I am using a VPS server thru Network Solutions that is not hosting its own email server. Not sure how to enable PHP Mail thru the Plesk panel and they (network Solutions) are not much help.
ask them if they can supply a sample script for sending an email using the php mail() function. If they can supply a sample script using the php mail() function, we should be able to get the email sending.
Finally got the issue resolved. New question about the format of the email.
I have returns in the message but the email sends all on one line
simply using the enter key will not put a return in, you have to hard code the line breaks by adding "\r\n" without the quotes.
Added the r\n after the VisitorPassword to the code but message is still one line
here is the code on the page
"subject" => "Forgot Password",
"mailBody" => "Your requested information is \n\nUser name: [VisitorUserName]\nPassword: [VisitorPassword]\r\n If your password is blank please call\n 951-500-0478 or reply to this message and request a password reset",
"emailFunction" => "WA_SecurityAssist_Email_1_SendMail"
try either:
"mailBody" => "Your requested information is \r\nUser name: [VisitorUserName]\r\nPassword: [VisitorPassword]\r\n If your password is blank please call\r\n 951-500-0478 or reply to this message and request a password reset",
or:
"mailBody" => "Your requested information is <br />User name: [VisitorUserName]<br />Password: [VisitorPassword]<br /> If your password is blank please call<br /> 951-500-0478 or reply to this message and request a password reset",
Top one did not work, Bottom one did.
Thanks again for all you help. You guys are terrific.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.