473,386 Members | 1,821 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,386 software developers and data experts.

send email from windows aplication..

I have a windows aplication and i would like to send email.

Does anyone one know what is the yahoo server???

TIA

PD: my aplication is in VS 2005 and c#.
Aug 4 '06 #1
5 1454
Hi,

To send mail you need System.Web.Mail.SmtpMail

What do you mean by the yahoo server?
On Fri, 04 Aug 2006 03:56:08 +0200, fanor <xf*****@hotmail.comwrote:
I have a windows aplication and i would like to send email.

Does anyone one know what is the yahoo server???

TIA

PD: my aplication is in VS 2005 and c#.



--
Happy Coding!
Morten Wennevik [C# MVP]
Aug 4 '06 #2
I have my account in yahoo and i wnat to use that acoount to send emails.
In order to do that i need to know the name of yahoo's email server.
"Morten Wennevik" <Mo************@hotmail.comwrote in message
news:op***************@tr024.bouvet.no...
Hi,

To send mail you need System.Web.Mail.SmtpMail

What do you mean by the yahoo server?
On Fri, 04 Aug 2006 03:56:08 +0200, fanor <xf*****@hotmail.comwrote:
>I have a windows aplication and i would like to send email.

Does anyone one know what is the yahoo server???

TIA

PD: my aplication is in VS 2005 and c#.


--
Happy Coding!
Morten Wennevik [C# MVP]

Aug 4 '06 #3
You need to use an SMTP server to be able to send an email. You can not
use yahoo or hotmail servers to send emails from your windows
applications. They do not reveal their server's details

You can contact your network team for the SMTP details or if you have a
web host, you can the smtp server details from them or your ISP..

Fanor wrote:
I have my account in yahoo and i wnat to use that acoount to send emails.
In order to do that i need to know the name of yahoo's email server.
"Morten Wennevik" <Mo************@hotmail.comwrote in message
news:op***************@tr024.bouvet.no...
Hi,

To send mail you need System.Web.Mail.SmtpMail

What do you mean by the yahoo server?
On Fri, 04 Aug 2006 03:56:08 +0200, fanor <xf*****@hotmail.comwrote:
I have a windows aplication and i would like to send email.

Does anyone one know what is the yahoo server???

TIA

PD: my aplication is in VS 2005 and c#.



--
Happy Coding!
Morten Wennevik [C# MVP]
Aug 5 '06 #4
You need to use an SMTP server to be able to send an email. You can not
use yahoo or hotmail servers to send emails from your windows
applications. They do not reveal their server's details
You can use yahoo to send email if the account has been configured to allow
it. The code below is written in Vulcan.NET but you shouldn't have any
trouble converting it to whatever language you're using.
USING System.Net
USING System.Net.Mail

FUNCTION Start() AS VOID
LOCAL msg AS MailMessage
LOCAL client AS SmtpClient
LOCAL subject, body AS STRING
LOCAL receiver, sender AS MailAddress

receiver := MailAddress{ "so******@somewhere.com.au" , "Someone's Name" }
sender := MailAddress{ "se****@here.com.au" , "Sender Name" }

subject := "Using the SMTP client"
body := "Hello"

msg := MailMessage{ sender, receiver }
msg:Subject := subject
msg:Body := body

client := SmtpClient{ "smtp.mail.yahoo.com" }
client:Credentials := NetworkCredential{ "username", "password" }

client:Send( msg )

RETURN

--
Paul
----

VO/Vulcan.NET Development Team Member
http://www.vulcandotnet.com.au

Aug 5 '06 #5
Exactly my point.. if you know the smtp details.. I thought Yahoo or
Hotmail, by default does not reveal their server info.. may be the POP3
service they provide does? I never used it .. so can not comment on it

Paul Piko wrote:
You can use yahoo to send email if the account has been configured to allow
it.
Aug 5 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
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...
1
by: Boris Bulit | last post by:
How can I send a message (for example WM_MDIMAXIMIZE) to other application from vb.net app? Thanks Boris
3
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...
1
by: Luis Ramos | last post by:
hello, my friends Can you give me a hand pls?... I made an executable file in vb.net 2003 and i want to run it in a pocket pc with windows mobille 2003. I´ve tranferes the executable file and...
0
by: fanor | last post by:
I want to send an email from a windows aplication using my yahoo account. I got some help before but still it's not working. The code is: MailMessage msg; MailAddress msender, receiver; ...
27
by: psbasha | last post by:
Hi, I want to create a Exe of an Pyton Aplication in Windows and UNIX.For example,Ihave the following ".py"files Sample1.py Sample2.py Sample3.py ................ Samplen.py Main.py
0
by: vivekshrivastava51 | last post by:
i m make one window aplication project in c#.net using visual studio 2003 all thing is well and it is runing very fine but the problem is that when i send mail from from "my window application" ...
4
by: Tony M | last post by:
VS 2005 - XP media - VB .net - winforms - .net 2.0 Just trying to send an email, here is the code and the error message that I get. I can't figure out how to fix it?
1
by: KF4fun | last post by:
Recently i am being given a windows aplication which was made using VB.net . I was asked to remake the windows aplication but i found it quite hard to do so because i am new to VB.net . The codes...
0
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,...
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
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?
1
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...
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...

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.