Hello,
We have been able to install your program and run it using VB.
The problem is how the attached file is encoded using your application.
When sent to a mail server with a web-based user portal, the email is sent with the encoded attachment, but the attachment is not recognized *as* an attachment. People who use the web server interface are unable to click a "download attachment" because the attachment is not recognized.
The only difference I could find was in the Content-Type specification in the undecoded message:
--_----200519-1796.193-3715
Content-Type: application/octet-stream;
name="rptHousingPatrols.rtf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="rptHousingPatrols.rtf"
In an email sent from a mail client (either web based or local based like Eudora), the same section reads as:
--_===4414122====calmail-be1.berkeley.edu===_
Content-Type: text/richtext
Content-Disposition: attachment;
filename="rptHousingPatrols.rtf"
Content-Transfer-Encoding: base64
Is this a known problem and is there anyway around it? Here is our code:
Dim objMailClient As Object
Set objMailClient = CreateObject("ADISCON.SimpleMail.1")
With objMailClient
.MailServer = "calmail.berkeley.edu"
.Sender = "cso@berkeley.edu"
.AttachFile "C:\rptHousingPatrols.rtf", "rptHousingPatrols.rtf"
.Recipient = "cso@berkeley.edu"
.Subject = "Patrol File"
.MessageText = "The attached file is a patrol summary."
End With
Call objMailClient.SendEx
Set objMailClient = Nothing
Thanks in advance for your help!


