View Single Post
  #2 (permalink)  
Old May 29th, 2007, 02:33 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Take a look at the method signature:

Public Shared Sub SendConfirmationMessage( _
   ByVal theShoppingCart As ShoppingCart, ByVal orderId As Integer, _
   ByVal emailAddress As String)

The SendConfirmationMessage method gets the emailAddress from the parameter of the method. So, the calling code should pass in a valid address.

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.