Closed (fixed)
Project:
Mass Contact
Version:
5.x-2.4-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2007 at 06:09 UTC
Updated:
30 Apr 2008 at 13:02 UTC
When I send a message with an attachment, the message is delivered, however the body is empty and the file is not attached. Usine Firefox 2.0.0.9. BCC is disabled.
Comments
Comment #1
bambangfals commentedi've same this problem...
what solutions for this bug???
thanks
Comment #2
JonDubya commentedNo response?
Comment #3
JonDubya commentedduplicate post...ignore.
Comment #4
JonDubya commentedUpdate...
If sending via Plain Text, the attachment is displayed as it's bitcode...example:
--d2dd48462977d1448ddd3c9ad7e8ffb0
Content-Type: text/plain; charset=UTF-8; format=flowed
Plain text body.
--d2dd48462977d1448ddd3c9ad7e8ffb0
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream; name="forumlogo.jpg"
Content-Disposition: attachment; filename="forumlogo.jpg"
/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsKCgwQDAwM
DAwMEAwODxAPDgwTExQUExMcGxsbHCAgICAgICAgICD/2wBDAQcHBw0MDRgQEBgaFREVGiAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICD/wAARCABiAP0DAREA
...
lFKzDWOWaOrGxtbbbSEKSkBXUDWG6dmdWiAjhF2c6DJhGMFTxhB0GTCMcMIQdBkQgwZMKxwyYRjI
KmEGP//Z
--d2dd48462977d1448ddd3c9ad7e8ffb0--
/end of message body.
Comment #5
oadaeh commentedI've committed changes to the head of the 2.x branch that I believe will correct this problem. Please check it out and verify if it does or not. I am hoping to cut a new release soon, if you want to wait until then.
Comment #6
JonDubya commentedUpdated the file. It now does what I stated in post #4 in both HTML and Plain Text formats. I don't have time to look into it right now, but my best guess is still something is up with the header format. Here's Outlook's detailed header info:
Return-Path:
Delivered-To:
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on jwitech.com
X-Spam-Level:
X-Spam-Status: No, score=0.5 required=7.0 tests=AWL,HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.2.3
Received: (qmail 18979 invoked by uid 48); 28 Jan 2008 19:22:06 -0800
Date: 28 Jan 2008 19:22:06 -0800
Message-ID: <20080129032206.18976.qmail@jwitech.com>
To:
Subject: Test new module
Errors-To: Webmaster [at] etanudsp.org
From: Eta Nu Chapter of Delta Sigma Pi
Content-Type: multipart/alternative;
charset=utf-8;
boundary="a5af6247a3ffe5e1d96b5e1f81ac8ac4"
MIME-Version: 1.0
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Sender: Webmaster [at] etanudsp.org
Reply-To: Eta Nu Chapter of Delta Sigma Pi
X-AntiVirus: checked by AntiVir MailGuard (Version: 7.0.1.66; AVE: 7.6.0.56; VDF: 7.0.2.52)
replaced @s with [at]s and removed recipient email addresses.
Comment #7
JonDubya commentedComment #8
oadaeh commentedThis looks like a problem with the way Outlook renders the messages, as I don't have that problem using Kmail, Thunderbird or the Basic webmail module. Since I don't have Outlook, it will be difficult for me to do anything about it, but I will see if I can find anything on the Internet about it.
Comment #9
JonDubya commentedProblem is replicated using gmail as well.
Comment #10
oadaeh commentedAh, Gmail! I forgot I had a Gmail account. And I have a Yahoo, AIM & Hotmail account. (I don't use any of them much.) So, I sent a Mass Contact e-mail w/attachment to all four. Hmm. It works fine there as well.
Okay. Let's try a different route. What other contrib modules do you have installed, JonDubya? Mime Mail maybe, what else?
Comment #11
JonDubya commentedMail related:
Mime Mail
Personalized Mail
Simplenews
Comment #12
Jeff Burnz commentedHeres what I get in gmail.
I have Mime Mail, Subscriptions and Send enabled also.
Here is the header:
Comment #13
oadaeh commentedI've made an update to the 5.x-2.x branch that checks for Mime Mail and processes attachments differently if it's installed. You will need to patch Mime Mail with the patch that is attached to this issue: http://drupal.org/node/223176
Please let me know what happens for you.
Comment #14
JonDubya commentedHad my buddy re-write the whole thing. It works now.
Comment #15
oadaeh commentedThanks for the help.
Does anybody else (bambangfals?, jmburnz?) want to let me know if my changes make it work for you? They would be in the 5.x-2.x-dev [1], and you would need to patch Mime Mail [2].
[1] http://drupal.org/node/160686
[2] http://drupal.org/node/223176
Comment #16
Jeff Burnz commentedOk, I'll try to get to it in the next few days / week or so. Thanks for the update!
Comment #17
oadaeh commentedNo updates on this? Shall I close it?
Comment #18
Jeff Burnz commentedSorry for not getting back!
No issues to report, one of my clients has been using this quite a bit and all seems to working perfectly.
Comment #19
oadaeh commentedThank you for the report.
Comment #20
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.