Problems Regarding Mail attachments using JMail.

Results 1 to 2 of 2

Thread: Problems Regarding Mail attachments using JMail.

  1. #1
    Join Date
    Dec 1969

    Default Problems Regarding Mail attachments using JMail.

    Hai,<BR> I need to send an email message consisting of some HTML content ( May be 1 or 2 images ) , some plain text and also consisting of an attachment with it.<BR><BR> My problem is that when i send this mail along with some attachment i receive this without any error( With all the images and the attachment intact ) in my local server , but in my host i can view the images but the attachment sent is not seen, instaed i receive an improper text which is not understandable. The component i use is JMail component.<BR><BR> The improper text is like this <BR><BR> " This is a multipart message in MIME format. ----NEXT_BM_0B18F729C7664B92B6BC68853EB0162F Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit <BR><BR> ----NEXT_BM_0B18F729C7664B92B6BC68853EB0162F Content-Type: application/octet-stream; name="aaa.txt" Content-Transfer-Encoding: base64 Content-Description: aaa.txt Content-Disposition: attachment; filename="aaa.txt" Content-ID: &#060;8DA327410F594B42A034ED13BFC69B3F&#062; aHR0cDovL3NlYXJjaC53aW4yMDAwbWFnLm5ldC9xdWVyeS5odG 1sP2NvbD0m aHQ9MCZxcD0mcXM9JnFjPSZwdz0xMDAlMjUmd3M9MCZsYT1lbi ZzaT0wJmZz PSZxdD1Qcm9ibGVtcytSZWdhcmRpbmcrc2VuZGluZyttYWlscy t3aXRoK0hU TUwrQ29udGVudCthbmQraGF2aW5nK2F0dGFjaG1lbnRzK3VzaW 5nK0pNYWls LiZleD0mcnE9MCZvcT0mcW09MSZxbD0mc3Q9MjEmbmg9MTAmbG s9MSZyZj0w ----NEXT_BM_0B18F729C7664B92B6BC68853EB0162F-- "<BR><BR><BR><BR> Please do provide me a solution regarding this problem. Jot down the basic settings that have to be given before i proceed further,... by which i mean settings like,<BR><BR> JMail.ISOEncodeHeaders = false<BR> JMail.ContentTransferEncoding = "8bit" etc.<BR><BR> A simple mail with some plain text results in no error , but a mail with HTML content and also sending an attachment along with it produces an error as mentioned above.<BR><BR> I kindly request you to provide me a detailed solution for which act i would be very thankful to you.<BR><BR> Regards,<BR>Kishore.<BR>

  2. #2
    Join Date
    Dec 1969

    Default have you checked the JMail docs/FAQs?<BR><BR>j<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts