Solved

Using winsock control

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

758 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

17 Experts available now in Live!

Get 1:1 Help Now