Page 1 of 1

SMTP E-mail Attachments

Posted: Tue Jun 10, 2008 2:36 pm
by Rick Lipkin
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

Posted: Tue Jun 10, 2008 8:51 pm
by James Bott
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