C# Sending Mail and Moving betwen pages to go to a checkout page

  • Thread starter Thread starter suekinch
  • Start date Start date
S

suekinch

What is the code to send mail/feedback back to the administrator of a
site. The code I am using is coming up with an error saying SmtpMail
3 arguments.

I also have issues transferring a customer ID to the next page to go
to checkout.

Any help will be greatly appreciated.
 
Hi
What is the code to send mail/feedback back to the administrator of a
site. The code I am using is coming up with an error saying SmtpMail
3 arguments.

I also have issues transferring a customer ID to the next page to go
to checkout.

What issues?
Ipiece of code, or a detailed explanation of what error/issues r u seeing
will help us giving a better answer
 
Ipiece of code, or a detailed explanation of what error/issues r u seeing
will help us giving a better answer

This is the error what I am getting when sending a mail

CS1501: No overload for method 'Send' takes '3' arguments


SmtpClient Mail = new SmtpClient ("smtp.myISP.com");
Line 31: Mail.Send("-----------------", txtEMail.Text,
txtComments.Text);
This is part of an assignment I am doing so I am using my own e mail
address to return mail to in the quotes above.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top