Solved

Using winsock control

Posted on 2001-06-19
3
207 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 49

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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wordlen challenge 3 61
groovy example issue 10 90
Add a task in Outlook from access 11 35
vbModal 12 35
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now