SMTP E-mail Attachments

Post Reply
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

SMTP E-mail Attachments

Post 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
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post 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
Post Reply