FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SMTP E-mail Attachments
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
SMTP E-mail Attachments
Posted: Tue Jun 10, 2008 02:36 PM

To All

Using the example testsmtp.prg .. I am able to send e-mail from my application .. however, when I attach a file ( .prg ) .. when the message gets delivered .. the attachment is named "part.001" and the file is all in hex ??

Just another curiosity .. when you add a second e-mail element in the "to" array .. the second ( or more ) recipient always gets sent as a "blind copy'

Any ideas on how to send an attatchment file so it arrives as a readable format rather than in binary ??

Rick Lipkin

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
SMTP E-mail Attachments
Posted: Tue Jun 10, 2008 08:51 PM

Rick,

I think this is because Windows isn't configured to recognize PRG files as plain text. You can try either renaming them with a TXT extension or zipping them.

I don't know the answer to the blind copy issue.l

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion