Solved

Using winsock control

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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