close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

No Email Sent

Thread began 5/20/2010 2:30 pm by christine310921 | Last modified 5/24/2010 10:58 am by christine310921 | 871 views | 3 replies |

christine310921

No Email Sent

I have created a Registration for users but when I tested found that no email is being sent from the registration_EmailPW.php page. The code is as follows:-

<?php require_once('Connections/connClosets.php');?>
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
function WA_SecurityAssist_Email_1_SendMail($WA_Auth_Parameter){
$WA_MailObject = WA_SecurityAssist_Definition("mail.designthecloset.com","25","","","","");
$WA_MailObject = WA_SecurityAssist_SendMail($WA_MailObject,"","","",$WA_Auth_Parameter["toAddress"],"",$WA_Auth_Parameter["fromAddress"],$WA_Auth_Parameter["subject"],$WA_Auth_Parameter["mailBody"]);
$WA_MailObject = null;
}// WA_SecurityAssist_Email_1_SendMail
?>
<?php
if(isset($_POST["Send_x"])){
//WA SecurityAssist Email object="Mail for Linux"
$WA_Auth_Parameter = array(
"connection" => $connClosets,
"database" => $database_connClosets,
"tableName" => "registration",
"filterColumn" => "RegistrationEmail",
"columnValue" => "".((isset($_POST["emailAddress"]))?$_POST["emailAddress"]:"") ."",
"columnType" => "text",
"usernameColumn" => "RegistrationUserName",
"passwordColumn" => "RegistrationPassword",
"selectColumns" => array(""),
"sessionVariables" => array(""),
"successRedirect" => "registration_LogIn.php",
"failRedirect" => "registration_EmailPW.php",
"keepQueryString" => TRUE,
"toAddressColumn" => "RegistrationEmail",
"fromAddress" => "registration@designthecloset.com",
"fromAddressDisplay" => "Design The Closet",
"subject" => "Registration Details",
"mailBody" => "User name: [RegistrationUserName]\nPassword: [RegistrationPassword]",
"emailFunction" => "WA_SecurityAssist_Email_1_SendMail"
);

WA_Auth_ForgotPassword($WA_Auth_Parameter);
}
?>

Sign in to reply to this post

Eric Mittman

Are you able to get the email that is sent when the user registers? Are you using the same information for the emailing on your forgot password page? If so please post back with copies of both of these pages in a zip archive so that we can take a look. If you are able to get emails from one script then you should be able to get the emails from the other scripts in the site as well.

Sign in to reply to this post

christine310921

Email Zip

Here are the pages security assist created. I am not getting an email at all.

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

christine310921

Fixed the problem

Hi,

Just to let you know that I have fixed the problem regarding email not being sent containing the password.

Thanks for all your help.
Christine

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