SMTP E-mail Attachments

SMTP E-mail Attachments

Postby Rick Lipkin » Tue Jun 10, 2008 2: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
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Postby James Bott » Tue Jun 10, 2008 8: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: karinha, nageswaragunupudi and 99 guests