This works fine to suck emails from your POP3 Account and export them as .eml files to C:\Windows\Temp
It's a Winsock solution.
I found it online, have used it and it works just fine. HOWEVER, I am looking for a simple VB6 example (in full) to convert the eml file attachments to files and export them too. So far, I have searched for about 14 hours solid. :-)
I prefer vb6, but would accept a simple vb.net...
User Profile
Collapse
-
The use of backslash variables is not bad, rather than the HTML "<BR>" of course.
The reason I went with the "Replace" function is that this was raised as a VB6 Question :-)
This suggests that the question was intended to achieve a programmatic response in VB6.
But yes, I do prefer your backslash variables :-)
Cheers,
KevinLeave a comment:
-
Though this may be better
A$ = "Hello " & vbCrLf
A$ = A$ & "World" & vbCrLf
A$ = Replace(A$, vbCr "")
A$ = Replace(A$, vbLf, "<BR>")
(Just in case)
:-)Leave a comment:
-
Open in Binary mode. Read the entire file into A$
A$ = Replace(A$, vbCrLf, "<BR>")
That would likely resolve it for you.
Play with this simple snippet :-)
A$ = "Hello " & vbCrLf
A$ = A$ & "World" & vbCrLf
A$ = Replace(A$, vbCrLf, "<BR>")
Cheers,
KevinLeave a comment:
-
I use this in my Classic ASP. Oftentimes I transfer Notes from a Memo Field in a VB App to an Access Database on a simple IIS HTTP Server.
So that sort of data is expanded to 7-bit and hexed.
In the ASP Page it's converted with my HexToASCII function:
Cheers,
Kevin
<%
FUNCTION HexToASCII (Param)
HexToAscii = Param
Command = ""
...Leave a comment:
-
Eliminating Content Theft from an RTF Object
Hey Guys,
Using VB6: I have a 200 millisecond timer obj on a form with an RTF Obj on the form which contains RTF documentation.
The timer commands Clipboard.Clear when the RichText Object receives the focus, and for a further 2 seconds after it loses that focus.
It works fine and eliminates the content theft.
Without simply guessing... does anybody actually know for a fact if there might...
No activity results to display
Show More
Leave a comment: