tags:

views:

57

answers:

3

I'm developing a college project in which I'm providing user with a facility to send an SMS and email to its client.

How can I do this in VB or VB.NET ????

+1  A: 
Josaph
+1  A: 

Sending emails is quite easy, just look at the System.Net.Mail namespace. This documentation for the SmtpClient class has an easy sample.

The easiest way to setup sending SMS would probably be to use an email - SMS gateway, that way you could just send an email for that as well.
Otherwise, here's an SMS gateway that has some sample code for sending SMS via them from VB.Net. (Note, I've no knowledge of that supplier except that they had that sample on their site.).

ho1
the link is not working..
Mew 3.2
@Mew: Both links worked for me right now.
ho1
+1  A: 

I have a .NET library that will send text messages through Twilio (where I work) in 2 lines of code:

Dim twilio As New TwilioApi("youraccountsid", "yourauthtoken")
twilio.SendSmsMessage("555-111-1111", "555-222-2222", "Sending SMS in .NET with Twilio is easy!")
John Sheehan