Results 1 to 9 of 9

Thread: Sending Email From VB

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2003
    Posts
    24

    Sending Email From VB

    Hai,

    please help me with some code to send emails from VB Program and also SMS ( to mobile phones) .

    thanks

  2. #2
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308
    Check the following link. You will a find a number of threads having the code for sending e-mail through VB.

    http://www.vbforums.com/search.php?s...ost&sortorder=

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    The E-Mail options are as above, if you search under my name for this you'll find a couple of samples too in the forums.

    With the SMS sending, you need a specific SMS server with specific protocals installed - it'll cost you a lot of money to get this setup & it's not really possible/feasible to do.

    People used to program to connect to an sms site such as lycos's sms page, automatically fill out the fields & send their message that way, but each of these sites like Lycos have put in measures to prevent this so I don't hink you're going to be able to have this as an option in your program.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

  5. #5
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308
    There is another way for sending SMS I got from www.msnfanatic.com. I haven't tried it uptill now, you should try it and if it will work, plz tell me via private message or send me e-mail at [email protected].


    Choose ur SMS site you want to send SMS thru.
    Use a webbrowser to open up your site... look thru the HTML code and find the name of the submit form then use

    WebBrowser.Document.FormName.TelephoneNumber.Text = txtPhone.text

  6. #6
    Hyperactive Member Foxer's Avatar
    Join Date
    Oct 2001
    Location
    Australia
    Posts
    278
    Originally posted by usamaalam
    Check the following link. You will a find a number of threads having the code for sending e-mail through VB.

    http://www.vbforums.com/search.php?s...ost&sortorder=








    This link didn't work - please repost!!!

    Gracious!
    Rate my response if I helped

    Go Hard Or Go Home


  7. #7
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308
    Search the work MAPI in the forum, here you will find codes for sendng mails. The link above should show the search results. Anyway, if you are looking for code to send e-mail using VB, let me know the method you want to use for sending e-mail.

    1) Using Outlook
    2) Using MAPI
    3) Using Winsock

  8. #8
    New Member
    Join Date
    Jan 2003
    Location
    Seattle
    Posts
    2

    Cool SMS

    Check out this SMS Control... It's great!!! Costs about 10.00 but you will be able to send SMS messages for free! I have it so let me know if you need some help setting it up, I doubt you will though.
    http://12.228.0.25/SMS/index.asp
    2 types of programmers. Cool ones and cooler ones.

  9. #9
    New Member
    Join Date
    Jan 2003
    Location
    Chennai - India
    Posts
    7
    Hi,

    I seen ur question well, if u r using NT or win 2000 server machine 'cdonts' u can use directly. go to msdn see the help

    if u r using win98 like that, u can use of MAPI controls. But it will be restricted to usage of exchange server.

    if u want coding please mail me, at present i don't have coding


    bala

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width