close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email Password Not working

Thread began 1/16/2010 4:39 pm by dan377928 | Last modified 3/21/2010 3:05 pm by Ray Borduin | 3955 views | 20 replies |

dan377928

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.

Sign in to reply to this post

Office Guy-172461

Things to check:

  1. Does your host support sending emails using the PHP mail() function?
  2. Are you sure you are using the correct setting for the SMTP server address? Perhaps try leaving the mail server blank.
  3. Sometimes the email may be trapped by a spam filter, check your spam folders to see if it is being trapped as spam.
  4. Make sure not to use the same address for the from and to settings. Some hosts will not relay emails if the from address and the to address are the same.


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

Sign in to reply to this post

Jason ByrnesWebAssist

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:
<?php if(!session_id()) session_start(); ?>
Sign in to reply to this post

dan377928

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.

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

dan377928

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

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

dan377928

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"

Sign in to reply to this post

Jason ByrnesWebAssist

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",

Sign in to reply to this post

dan377928

Top one did not work, Bottom one did.

Thanks again for all you help. You guys are terrific.

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