By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,994 Members | 1,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,994 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.

Jan 27 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi
<su******@lycos.co.ukwrote in message
news:11**********************@j27g2000cwj.googlegr oups.com...
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

Any help will be greatly appreciated.

Jan 28 '07 #2

P: n/a


On Jan 28, 5:51 am, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.comwrote:
Hi<sueki...@lycos.co.ukwrote in messagenews:11**********************@j27g2000cwj.g ooglegroups.com...
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
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.
>

Any help will be greatly appreciated.- Hide quoted text -- Show quoted text -
Jan 28 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.