Solved

Using winsock control

Posted on 2001-06-19
3
212 Views
Last Modified: 2013-11-13
How can I send a mail with attachments using winsock control?
0
Comment
Question by:jmvaldesc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 52

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

623 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