473,395 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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

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
2 1516
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


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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James | last post by:
Hi, I am trying to build a shopping cart for my DVD website and am having trouble reading variable over different pages. I have a page that allows the user to add things to their cart and this...
1
by: Stephajn Craig | last post by:
It's been a while since I posted here, but here goes. Our server is a Windows 2000 Server with Service Pack 3, IIS 5 with Lockdown Wizard applied. My first problem is related to...
1
by: festivalman | last post by:
Hi, sorry if this is in the wrong spot. Finding the newsgroups on MS's site could have been easier Here's my problem I've got some old asp's that are running our simple web site. In a section,...
7
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server...
7
by: tshad | last post by:
I have been sending messages to myself from work that worked before and now all of my message only seem to be sending part of my messages. I get the first part of the message and then get...
6
by: AbraAbraCadabra | last post by:
Ok I think I've almost got my problem solved. I am using this code to send mail. I am simply pasting it into an .ASP page. Why doesn't this code work? I do have ..NET 2.0 installed, but I...
9
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient...
2
by: Dave | last post by:
Hi, I hope someone can help, I'm trying to get mail out from a form to a php page using the mail() function. Nothing happens. The server is W2003 and the mail application is Kerio Mailserver, not...
8
by: nargis2009 | last post by:
Hi, I have been encountering problems with my web page which is supposed to send email, and wondered if anybody can help find error. Initially I had all codes in one page and on click of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.