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{ "(e-mail address removed)" , "Someone's Name" }
sender := MailAddress{ "(e-mail address removed)" , "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