close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Powerstore 2 emailing

Thread began 8/21/2009 2:15 pm by rayne202093 | Last modified 8/28/2009 4:37 pm by Jason Byrnes | 4353 views | 9 replies |

rayne202093

Powerstore 2 emailing

I have setup all the email addresses in WA_Globals.php. Powerstore 2 does not seem to be emailing the registration information to the person that registers. It does, however, send the lost password information. It also does not email a copy of the order to the buyer. I have checked all the spam filters and tried several email addresses. Is there something else I have to setup besides the WA_Globals.php file?

I also want Powerstore to email me a copy of every order. How would I set that up?

Thanks.
--rayne

Sign in to reply to this post

Jason ByrnesWebAssist

If the email is being sent to some addresses, but not others, the SMTP server is refusing to relay to those addresses for some reason. contact the host and see if they can can look into the SMTP server error logs, there are likely some clues into why the SMTP server is not relaying to those addresses in the errors logs.

To have a copy of every order sent to you, add your address to the $WAGLOBAL_Receipt_Email_BCC variable in the WA_Globals.php file.

Sign in to reply to this post

rayne202093

sorry I wasn't clear

Originally Said By: Jason Byrnes
  If the email is being sent to some addresses, but not others, the SMTP server is refusing to relay to those addresses for some reason. contact the host and see if they can can look into the SMTP server error logs, there are likely some clues into why the SMTP server is not relaying to those addresses in the errors logs.  



Sorry I wasn't clear in my problem. The Powerstore only ever emails the "Forget Password" information. It will do that every time. But, the Powerstore doesn't ever email the registration information or the order information.

It is not because the SMTP server is refusing to relay to an address because it does email the "Forget Password" information. It does not email the registration information (to the same email address) or the order information. I have checked all the spam filters.

--rayne

Sign in to reply to this post

Jason ByrnesWebAssist

OK, I think I see the problem on the reciept email.

On the conform page, find the following:
<?php
// WA eCart Store Cart Details in Db
if (isset($_POST["Submit_order"])) // Trigger
{
$WA_connection = $localhost;
$WA_table = "orderdetails";
$WA_redirectURL = "checkout_success.php";


and change it to:
<?php
// WA eCart Store Cart Details in Db
if (isset($_POST["Submit_order"])) // Trigger
{
$WA_connection = $localhost;
$WA_table = "orderdetails";
$WA_redirectURL = "";




On the user_registration_full.php page, find:
<?php
// WA Application Builder Insert
if (isset($_POST["Register"])) // Trigger
{
$WA_connection = $localhost;
$WA_table = "users";
$WA_sessionName = "users_UserID";
$WA_redirectURL = "users_Profile.php";


and change it to:
<?php
// WA Application Builder Insert
if (isset($_POST["Register"])) // Trigger
{
$WA_connection = $localhost;
$WA_table = "users";
$WA_sessionName = "users_UserID";
$WA_redirectURL = "";

then find:
//Send Mail All Entries
if ("".((isset($_GET["accesscheck"]))?$_GET["accesscheck"]:"users_Profile.php") .""!="") {
header("Location: ".((isset($_GET["accesscheck"]))?$_GET["accesscheck"]:"users_Profile.php") ."");
}


and change it to:
//Send Mail All Entries
if ("".((isset($_GET["accesscheck"]))?$_GET["accesscheck"]:"users_Profile.php") .""!="") {
header("Location: ".((isset($_GET["accesscheck"]))?$_GET["accesscheck"]:"users_Profile.php") ."");
exit;
}
header("Location: users_Profile.php");

Sign in to reply to this post

rayne202093

I am now receiving the order receipt email after implementing the steps in support ticket:107397.

I made the code changes.

On both the Email verification and Registration emails, I receive the email sent to the CC and BCC as setup in WA_Globals.php. However, I do not receive the email that was sent to the email address that was put in the form itself when I filled it out. So, the email verification and registration email are not sent to the shopper, but are sent to the CC and BCC addresses.

Thanks.
--rayne

Sign in to reply to this post

Jason ByrnesWebAssist

If it's going to the CC and BCC addresses, then it is the server that is not relaying to the shoppers email address. is the email you are testing with the same email as you have set in the WSA Globals for the $WAGLOBAL_Registration_Email_FROM or the $WAGLOBAL_Password_Email_FROM variables?

Sign in to reply to this post

rayne202093

I am using three separate email addresses (so I can see what email is sent where), one for the CC, one for the BCC, and one for the shopper. I have tried swapping them around, but the shopper emails never gets delivered (Email verification and Registration emails), only the BCC and CC emails get delivered.
--rayne

Sign in to reply to this post

Jason ByrnesWebAssist

Check with your host to have them look into the SMTP server error logs to see why it is not being relayed for the shoppers email address. If it is being sent to the other emails, there is something on the host preventing it from being sent tot he shoppers email or it is being trapped in a spam filter.

Sign in to reply to this post

rayne202093

Originally Said By: Jason Byrnes
  Check with your host to have them look into the SMTP server error logs to see why it is not being relayed for the shoppers email address. If it is being sent to the other emails, there is something on the host preventing it from being sent tot he shoppers email or it is being trapped in a spam filter.  



I am the host. It is my server. There are no errors generated. If "test@test.com" is used as either the CC or BCC the email is received. If that same email address is used as the shopper's email, and others are used for cc and BCC, the shopper email is not sent. The shopper's email for Email verification and Registration emails is never sent. It is not trapped in the spam filter.

I do not think Powerstore is picking up the shopper's email address from the registration form when it is filled out by the shopper.

--rayne

Sign in to reply to this post

Jason ByrnesWebAssist

On the users_Registration_full.php page, the code for setting the recipient email is at line 149:

php:
$RecipientEmail = "".((isset($_POST["UserEmail"]))?$_POST["UserEmail"]:"")  ."";include("WA_Universal_Email/WAUE_users_Registration_1.php");





the form element that the user enters the email in is at line 385:

php:
<input name="UserEmail" type="text" class="WAATKTextField" id="UserEmail" onBlur="if (document.getElementById('emailServerValidation')) document.getElementById('emailServerValidation').style.display='none'" value="<?php echo(ValidatedField("usersRegistrationfull","UserEmail")) ?>" size="32" />






you could verify that the recipient email is being set correctly by cvhnging line 149 to:

php:
$RecipientEmail = "".((isset($_POST["UserEmail"]))?$_POST["UserEmail"]:"")  ."";include("WA_Universal_Email/WAUE_users_Registration_1.php");

die("Email = ".$_POST["UserEmail"]);




this will cause the page to display a white screen showing the recipient email that is being used to send the email. If not, send a copy of your registration page so I can look into it.

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