Winsock

WIJ
02-03-2002, 10:53 AM
How could we send an attachment to an E-mail using Winsock ?

I bit this is hard but, I need some answers !
Thanks !

ChiefRedBull
02-03-2002, 12:00 PM
You can use MAPI, the OutLook library, manual MIME encoding and SMTP... search the forum for "OutLook", "email", "attachments" for some good tips.

WIJ
02-03-2002, 12:06 PM
No no no, I can not use these becuase my sample program is built on Winsock, for example:
you can send an E-mail to someone having no SENDER'S E-MAIL ADDRESS, or you can make the SENDER'S E-Mail address appear to the RECIEVER like: FunnyFunnyFunny@yahoo.com, or anything you like .etc
So It's Important to find a way to send an attachment by Winsock!

orufet
02-03-2002, 12:41 PM
Actually, Chief did mention a couple of winsock capable methods...

Squirm
02-03-2002, 12:55 PM
Im guessing that you didnt search for manual MIME encoding and SMTP because they are exactly what you want, dude.......
:rolleyes:

ChiefRedBull
02-03-2002, 02:42 PM
Here (http://www.google.com/search?sourceid=navclient&q=mime+rfc) is a quick search on google.... took me all of 0.17 seconds. Fast huh? :p

robot313
02-03-2002, 02:57 PM
Originally posted by WIJ
No no no, I can not use these becuase my sample program is built on Winsock, for example:
you can send an E-mail to someone having no SENDER'S E-MAIL ADDRESS, or you can make the SENDER'S E-Mail address appear to the RECIEVER like: FunnyFunnyFunny@yahoo.com, or anything you like .etc
So It's Important to find a way to send an attachment by Winsock!

I'm curious, why would you want to send an email with no sender's address?

Thinker
02-03-2002, 08:45 PM
Why would you be curious, robot313. I get these kind of spam
emails all the time. I have no doubt why he wants this. ;)

divil
02-04-2002, 02:44 AM
It took me about half a day to code a spamming utility for our company (not that we use a fake return address, but we could).

You can always set a fake address in outlook you know. What you need to learn is SMTP, and possibly MIME. You don't need MIME unless you want attachments and/or alternate message formats in your emails.

WIJ
02-04-2002, 07:31 AM
Well guys, Thanks for help!
But i found Winsock stuff in the site below:
http://www.vbip.com/winsock/winsock_uucode_01.asp

It looks fine to me :-)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum