close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Checkout Wizard values for $RecipientEmail

Thread began 10/14/2009 7:50 pm by john275907 | Last modified 10/15/2009 2:57 pm by Jason Byrnes | 2163 views | 3 replies |

john275907

Checkout Wizard values for $RecipientEmail

I used the Checkout Wizard to creat by checkout pages and on the confirm.php page I have included in the UE SB the following:

$RecipientEmail = "".((isset($_SESSION["eCartCheckoutForm_firstname"]))?$_SESSION["eCartCheckoutForm_firstname"]:"") ." ".((isset($_SESSION["eCartCheckoutForm_lastname"]))?$_SESSION["eCartCheckoutForm_lastname"]:"") ."|WA|".((isset($_SESSION["eCartCheckoutForm_email"]))?$_SESSION["eCartCheckoutForm_email"]:"") ."";include("WA_Universal_Email/WAUE_confirm_2.php");

With this code my testing server never sends out the order email.
However, if I change it it like so:

$RecipientEmail = "".$_SESSION['eCartCheckoutForm_email'] ."";include("WA_Universal_Email/WAUE_confirm_2.php");

It works fine. Is there some additional code needed in the setup of the recipient name/email ?
Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

The code generated by the checkout wizard will try to format the to address as:
FirstName LastName <Email@Address.com>

There are some server that will not accept this format and will only accept:
email@address.com

it looks like your SMTP server does not like the :
FirstName LastName <Email@Address.com>

format.

Sign in to reply to this post

john275907

Thanks for the clarification Jason.
I will try it out on the production server.
Best Regards,

Sign in to reply to this post

Jason ByrnesWebAssist

You're welcome.

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