Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using winsock control

Posted on 2001-06-19
3
Medium Priority
?
215 Views
Last Modified: 2013-11-13
How can I send a mail with attachments using winsock control?
0
Comment
Question by:jmvaldesc
3 Comments
 
LVL 54

Expert Comment

by:Ryan Chong
ID: 6205487
Hi, here is a sample:

http://www.vbcode.com/asp/showzip.asp?ZipFile=http://www.developersdomain.com/vb/downloads/PostMan.zip&theID=752

I manage to send emails using winsock before, but the result is extremely slow when you try to attach the files , let say hundred of KBs.

So , you can try the outlook object to replace winsock.:

http://www.planet-source-code.com/vb/scripts/ShowCodeAsText.asp?txtCodeId=6480&lngWId=4

http://www.vbsquare.com/php-bin/printfriendly.php?articlepageid=676

'Hope will help

0
 

Accepted Solution

by:
sachin_nigam earned 300 total points
ID: 6205493
is achievable..but is pretty tough..you need to Encode the file first..& is lot more easier using CDONTS or MAPI..anywez here is the example :-)
http://www.vbip.com/winsock/winsock_simple_sender_02.asp
cheers
Sachin
0
 

Author Comment

by:jmvaldesc
ID: 6205787
Thank you I'll try it. I hope that this will be solve my problem.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This video teaches viewers about errors in exception handling.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question