close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

notification email

Thread began 12/19/2018 8:18 am by Jamie | Last modified 12/21/2018 2:28 pm by Ray Borduin | 37 views | 5 replies |

Jamie

notification email

I have a site that takes sign ups from customers but requires authorisation from my client. At the moment, a verification email is being sent to the customer and presently have bcc's the client in on this email to give them the heads up that there is a new sign up that they will need to action.

The problem is that bcc ing in the client to the verification email gives the client the verification URL path which, if they accidentally click it will stop it from being used by the customer.

How woudl I go about setting up an email that gets pinged to my client with the date, name and email address of the new sign up rather than getting the verification email?

Thanks

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

You would just set up the page with two email server behaviors so that the client can have a different body.

Sign in to reply to this post

Jamie

Thanks Ray. Have been trying to do that and am getting this error after trying to insert a new 'Send Email' behaviour: http://prntscr.com/lx3t7w and nothing is getting inserted

Have tried it on a couple of pages with an email send on them and the same pop up

Sign in to reply to this post

Ray BorduinWebAssist

Make sure you remove the redirect from the first email so that the second can send. This is true for whenever you have multiple server behaviors that run from the same trigger... only the last one in the list should have a redirect set.

Sign in to reply to this post

Jamie

thanks Ray all working now

am passing some identifying info to the email and was wondering if its ok to combine

<?php
@session_start();
if(($_SERVER["REQUEST_METHOD"] === "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {
$_SESSION["Company"] = "".((isset($_POST["Company"]))?$_POST["Company"]:"") ."";
}
?>
<?php
@session_start();
if(($_SERVER["REQUEST_METHOD"] === "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {
$_SESSION["Email_Address"] = "".((isset($_POST["Email_Address"]))?$_POST["Email_Address"]:"") ."";
}
?>
<?php
@session_start();
if(($_SERVER["REQUEST_METHOD"] === "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {
$_SESSION["Last_Name"] = "".((isset($_POST["Last_Name"]))?$_POST["Last_Name"]:"") ."";
}
?>
<?php
@session_start();
if(($_SERVER["REQUEST_METHOD"] === "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {
$_SESSION["First_name"] = "".((isset($_POST["First_Name"]))?$_POST["First_Name"]:"") ."";
}
?>


into one

<?php
@session_start();
if(($_SERVER["REQUEST_METHOD"] === "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {
$_SESSION["First_name"] = "".((isset($_POST["First_Name"]))?$_POST["First_Name"]:"") ."";
$_SESSION["Last_Name"] = "".((isset($_POST["Last_Name"]))?$_POST["Last_Name"]:"") ."";
$_SESSION["Email_Address"] = "".((isset($_POST["Email_Address"]))?$_POST["Email_Address"]:"") ."";
$_SESSION["Company"] = "".((isset($_POST["Company"]))?$_POST["Company"]:"") ."";
}
?>
Sign in to reply to this post

Ray BorduinWebAssist

Yes. That is fine to do, and I'd probably do the same.

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