|
Email Confirmation
10/2/2003 5:12:01 PM
(Total replies: 2)
|
| I have gotten the cart just about up and running but having problems with the confirmation email. There is not mail sent at all. Please help.
My code is below
<%
SendEmail 'This line calls the function below and sends the email
function SendEmail
on error resume next 'This code will only work on a Win2k server.
Dim iMsg,iConf,Flds
Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
With Flds
' assume constants are ... |
|
|
|
Re: Email Confirmation
10/2/2003 5:59:30 PM
(Total replies: 0)
|
| rest is
Set .Configuration = iConf
.To = CustomerRS("CustomerEmail")
.From = "sales@ultimatejeep.net"
.Subject = "Your Ultimate Jeep Order"
'.TextBody = "test"
.CreateMHTMLBody "c:\hosting\webhost4life\member\ultimatejeep/cart/Email.asp?OrderID=" & OrderID & "&CustomerID=" & CustomerID
.Send
End With
end function
%> |
|
|
|
Re: Email Confirmation
10/2/2003 6:09:32 PM
(Total replies: 1)
|
| Why is it everytime you go to ask something the answer all of a sudden comes to you.
One other thing though with the email. How do I set it up to send me a copy also? |
|
|
|
Re: Email Confirmation
10/3/2003 8:31:38 AM
(Total replies: 1)
|
| It was too stupid. The mail server I was using was having problems at the time so I just had to use another email address. |
|