Click here to Skip to main content
15,067,574 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: , +
I have an account at www.000webhost.com. This free webhosting also gives you web-emails accounts.-I have register one :)-

What I want is to sent emails with Visual Basic Windows Forms to that email server.
We all know that we can do this with Gmail....

VB
MyMailMessage.From() = New MailAddress("gmail-account")
            MyMailMessage.To.Add("gmail-to.send;)
            MyMailMessage.Subject = "anything"
            MyMailMessage.Body = "anything"
            Dim SMTP As New SmtpClient("smtp.gmail.com")
            SMTP.Port = 587
            SMTP.EnableSsl = True
            SMTP.Credentials = New System.Net.NetworkCredential("gmail-account", "gmail-password")
            SMTP.Send(MyMailMessage)


I will also write the Informations you will need to find a code that can do this.

Informations:

To configure email client such as Outlook Express you need these details:

Type of incoming mail server: POP3 or IMAP
Incoming mail (POP3 / IMAP) server: mx.000webhost.com
Outgoing (SMTP) server: you need to use your ISP (Internet Service Provider) SMTP server. Call your ISP to know your SMTP (mail sending) server. In case you are unable to get SMTP server, you can use WebMail for email sending.

Their webmail clients are : RoundCube , AtMail , SquirrelMail


Can you help me guys?

Thanks in advance,
GeorgeGkas
Posted
Updated 12-Jul-14 0:54am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900