Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Knowledge Base > Code Library > "Email made easy" via SMTP


Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2002, 10:14 AM
ChiefRedBull's Avatar
ChiefRedBull ChiefRedBull is offline
ISearchGoogle

Retired Moderator
* Expert *
 
Join Date: May 2001
Location: england
Posts: 6,321
Default "Email made easy" via SMTP


SMTP wrapper control

Simple Mail Transfer Protocol control, ready to drop onto your form, and send email with. Easy

So... after the recent avalanche of requests for simple mail code, I knocked this up. It is a control that you can add to your projects. You then set a few properties, call the .SendMail method, and bingo.

It doesn't support attachments, and you will need access to an SMTP server, but mostly, your ISP will provide you with free access to theirs. Just mail them and ask for the correct server address.

Enjoy.
Attached Files
File Type: zip smtp.zip (5.9 KB, 1321 views)
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.

Last edited by loquin; 08-29-2005 at 01:56 PM. Reason: cleanup old HTML tags.
Reply With Quote
  #2  
Old 02-18-2003, 05:16 PM
loquin's Avatar
loquin loquin is offline
Google Hound

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Arizona, USA
Posts: 12,396
Default

As a follow-up to this thread; IF you have the need to send attachments, Ostrosoft offers a free SMTP control which supports them. I haven't checked out the Chief's control yet, but the Ostrosoft version probably has a larger footprint.
__________________
Lou
"I have my standards. They may be low, but I have them!" ~ Bette Middler
"It's a book about a Spanish guy called Manual. You should read it." ~ Dilbert
"To understand recursion, you must first understand recursion." ~ unknown
Reply With Quote
  #3  
Old 02-20-2003, 07:41 AM
Squirm's Avatar
Squirm Squirm is offline
Political Coder

Retired Moderator
* Guru *
 
Join Date: Mar 2001
Location: London, England
Posts: 8,037
Default

The Chief has since written a tutorial on email attachments:
http://www.winsockvb.com/article.php?article_id=27
__________________
Search the forums | Use [vb][/vb] tags | Still IRCing
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->