flat assembler
Message board for the users of flat assembler.

Index > Windows > send email via fasm

Author
Thread Post new topic Reply to topic
plaster90



Joined: 03 Jun 2014
Posts: 17
plaster90 07 Jun 2014, 06:18
hi
does anyone know how to send email via 'only fasm'? is it posible to use only msdn winsock function?
please give me any idea, because i don't know how to start:(
Post 07 Jun 2014, 06:18
View user's profile Send private message Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier 07 Jun 2014, 15:45
plaster90,

There is a thread on the MASM32 board, allowing you to send emails with attachments. Uses COM, but should be converted without too much trouble:

http://masm32.com/board/index.php?topic=3034.msg31642#msg31642

If you make the conversion, share your code!

hth,

farrier

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 07 Jun 2014, 15:45
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
typedef 07 Jun 2014, 16:42
Or you can roll your own using Winsock + OpenSSL just for starting.


If you know C you can learn how to use OpenSSL for this situation from these links

I could have helped you here but this is very trivial of a task.

Code:
http://savetheions.com/2010/01/16/quickly-using-openssl-in-c/    

Code:
http://stackoverflow.com/questions/2563073/smtp-on-c-starttls-via-openssl    



Good luck.
Post 07 Jun 2014, 16:42
View user's profile Send private message Reply with quote
uor99



Joined: 04 Dec 2014
Posts: 42
uor99 06 Dec 2014, 00:20
Hope you enjoy it .


Description:
Download
Filename: SendMail.asm
Filesize: 11.51 KB
Downloaded: 362 Time(s)

Post 06 Dec 2014, 00:20
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.