Hi all, i need code for sending a mail to different mail ids like a yahoo id ,gmail id etc.whenever i click a button it needs to send a mail to that particular id specified in To: field
My page is like
To: txtto
Subject:txtsubject
Body
send-button
10 4768
Try exploring System.Web.Mail. That makes it pretty simple to generate emails on the fly.
Hi all, i need code for sending a mail to different mail ids like a yahoo id ,gmail id etc.whenever i click a button it needs to send a mail to that particular id specified in To: field
My page is like
To: txtto
Subject:txtsubject
Body
send-button
can u give me code ?
Hi, You can try to do that in the following way:
First, you need to put CODE tags around your code, it is very annoying to read your post with out them. Second, it is better to let others work through their problems with guidance instead of giving them the entire solution. Your solution will likely not meet their needs, and further more they should be familiar with how to send an email using the asp.net classes. I wish I could edit your post so that it was easier to read, but I can't. If you still can, you should!
First, you need to put CODE tags around your code, it is very annoying to read your post with out them. Second, it is better to let others work through their problems with guidance instead of giving them the entire solution. Your solution will likely not meet their needs, and further more they should be familiar with how to send an email using the asp.net classes. I wish I could edit your post so that it was easier to read, but I can't. If you still can, you should!
Hi
Since I am a new at this forum, please forgive me all the mistakes. Thank You for Your advices. I will follow them in the future.
Sorry, I am not able to edit my previous post anymore.
No problem, just remember the CODE tags, it is a real pet peeve of mine!
-
Protected Sub TestCode(ByVal sTemp as string)
-
If sTemp.Length = 0 then 'no data in variable.
-
-
End if
-
End Sub
-
(just testing the CODE tags; above code is merely test code.
First, you need to put CODE tags around your code, it is very annoying to read your post with out them.
I edited and added code tags.
Well said, RedSon, I agree.
First, you need to put CODE tags around your code, it is very annoying to read your post with out them. Second, it is better to let others work through their problems with guidance instead of giving them the entire solution. Your solution will likely not meet their needs, and further more they should be familiar with how to send an email using the asp.net classes. I wish I could edit your post so that it was easier to read, but I can't. If you still can, you should!
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Google Mike |
last post by:
I've got RH9 Linux with default PHP.
Is there a way to send email on Linux to an Exchange Server from PHP
and/or other tools when there is *NOT* SMTP access?
Has anyone figured out a way to...
|
by: ian |
last post by:
Hi,
I'm a newbie (oh no I can here you say.... another one...)
How can I get Python to send emails using the default windows email
client (eg outlook express)?
I thought I could just do the...
|
by: David Burson |
last post by:
Hi,
I have a VB.NET windows app that needs to automatically send a simple text
email when my users run a new version of the app for the first time. I
thought this would be simple, but after...
|
by: Bob Jones |
last post by:
We have developed a commercial ASP.net application
(personal nutrition management and tracking); we want to
send smtp email from within it.
For our development box, we use WinXP Pro, IIS 5.5,...
|
by: Gerard |
last post by:
Hello
I have created a windows service to monitor a database, it starts some
checks when a timer elapses. The checks send emails depending on their
findings. My issue is that when I created a...
|
by: supz |
last post by:
Hi,
I use the standard code given below to send an email from an ASP.NET
web form. The code executes fine but no Email is sent. All emails get
queued in the Inetpub mail queue.
I'm using my...
|
by: shapper |
last post by:
Hello,
I am trying to send an email using Asp.Net 2.0.
I am getting the following error:
System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The
server response was: No such...
|
by: Mahernoz |
last post by:
Can i send an email from JavaScript? Is it possible? If yes please the
code to send email using javascript...
|
by: Malli mindwave |
last post by:
Hi,
We are using the yahoowebHostiing service for my company website, In
that one screen of the SendComments/FeedBack section is there, I'm
basically dot.net develeoper ,but yahoowebhosting not...
|
by: Mike |
last post by:
I have a page with a textbox that a user can enter in mutliple email addresses such as:
user1@yahoo.com;user2@yahoo.com;user3@gmail.com;
and so on, I then have a foreach loop to get all of the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
| |