-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've tried sending emails with attachments several times now from RoundCube mail. Depending on the client reading the email, the attachments may or may not be useable.
SquirrelMail doesn't like them. MS Outlook doesn't like them. Thunderbird seems to deal with them OK. RoundCube mail deals with them OK.
The most recent email I sent with attachment from RoundCube, was trapped by my corporate SurfControl box with an 'invalid MIME format' error.
Outlook also doesn't seem to recognize the MIME formatting.
Not sure what could be wrong with the formatting, but it ought to be looked at any way.
BTW: RoundCube is pretty impressive so far. Very nice.
Thanks,
Ben Nelson wrote:
I've tried sending emails with attachments several times now from RoundCube mail. Depending on the client reading the email, the attachments may or may not be useable.
Save the attached file, and use it as as an attachment when sending yourself a test message from RoundCube. Open the test message in Thunderbird. Select view source (Ctrl-U), and save the message source to a file ("edit" -> "save page as" in the source view window). Compress the saved file (zip og gzip depending on platform), and attach the compressed file to your next MIME error report.
Why the complicated procedure? To debug any problem, you need test data, and this procedure will provide at least one such data point. The compression step is to make sure the test data (message source) isn't munged by e-mail software along the way.
Bob
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
B. Johannessen wrote:
Ben Nelson wrote:
I've tried sending emails with attachments several times now from RoundCube mail. Depending on the client reading the email, the attachments may or may not be useable.
Save the attached file, and use it as as an attachment when sending yourself a test message from RoundCube. Open the test message in Thunderbird. Select view source (Ctrl-U), and save the message source to a file ("edit" -> "save page as" in the source view window). Compress the saved file (zip og gzip depending on platform), and attach the compressed file to your next MIME error report.
Why the complicated procedure? To debug any problem, you need test data, and this procedure will provide at least one such data point. The compression step is to make sure the test data (message source) isn't munged by e-mail software along the way.
Bob
Attached is the requested file.
Worked fine here, downloaded on XP (I'm at work), gunzip, viewed subject: Test message with body: 'This is a test' in Outlook Express.
P
On Tue, 15 Nov 2005 15:34:25 -0700, Ben Nelson lists@venom600.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
B. Johannessen wrote:
Ben Nelson wrote:
I've tried sending emails with attachments several times now from RoundCube mail. Depending on the client reading the email, the attachments may or may not be useable.
Save the attached file, and use it as as an attachment when sending yourself a test message from RoundCube. Open the test message in Thunderbird. Select view source (Ctrl-U), and save the message source to a file ("edit" -> "save page as" in the source view window). Compress the saved file (zip og gzip depending on platform), and attach the compressed file to your next MIME error report.
Why the complicated procedure? To debug any problem, you need test data, and this procedure will provide at least one such data point. The compression step is to make sure the test data (message source) isn't munged by e-mail software along the way.
Bob
Attached is the requested file. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDemJx3cL8qXKvzcwRAhOuAKCsF5X9k4eZHIppPbrIqBXm1tgPUACdGAvg dWu0Jx1dtbJ+jjJc34RHoII= =hX28 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
phil wrote:
Worked fine here, downloaded on XP (I'm at work), gunzip, viewed subject: Test message with body: 'This is a test' in Outlook Express.
P
On Tue, 15 Nov 2005 15:34:25 -0700, Ben Nelson lists@venom600.org wrote:
B. Johannessen wrote:
Ben Nelson wrote:
I've tried sending emails with attachments several times now from RoundCube mail. Depending on the client reading the email, the attachments may or may not be useable.
Save the attached file, and use it as as an attachment when sending yourself a test message from RoundCube. Open the test message in Thunderbird. Select view source (Ctrl-U), and save the message source to a file ("edit" -> "save page as" in the source view window). Compress the saved file (zip og gzip depending on platform), and attach the compressed file to your next MIME error report.
Why the complicated procedure? To debug any problem, you need test data, and this procedure will provide at least one such data point. The compression step is to make sure the test data (message source) isn't munged by e-mail software along the way.
Bob
Attached is the requested file.
The attachment text file containing 'abc123' is the attachment you want to verify. The 'This is a test' message was the body of the message which had the 'abc123' attachment sent along with it.
Ben Nelson wrote:
B. Johannessen wrote:
Save the attached file, and use it as as an attachment when sending yourself a test message from RoundCube. Open the test message in Thunderbird. Select view source (Ctrl-U), and save the message source to a file ("edit" -> "save page as" in the source view window). Compress the saved file (zip og gzip depending on platform), and attach the compressed file to your next MIME error report.
Attached is the requested file.
Ben, please remove irrelevant quoted text when replying.
Developers,
the message is absolutely strange. About half the header fields are CR+LF terminated, the others are terminated by bare LF. I've seen this happen when some header fields are added by the MUA and others by the MTA/MDA, but I don't think that's the case here. The following header fields are terminated by bare LFs:
Return-Path X-Spam-Checker-Version X-Spam-Level X-Spam-Status X-Original-To Delivered-To Received To Subject From Reply-To
I expect the first 7 were added by MTA/MDA, but I'm pretty sure the last 4 (To, Subject, From and Reply-To) were included by RoundCube.
The following header fields were terminated by CR+LF:
MIME-Version Date Message-ID X-Sender User-Agent Content-Type
Also the two MIME parts are positively bizarre. The empty line that's supposed to separate the MIME header from the MIME body is encoded as follows: 0d 0a 0a 0d 0a, that is CR+LF+LF+CR+LF.
According to RFC2822, this should be CR+LF+CR+LF. Now, on Unix it's not uncommon for RFC2822 messages to use bare-LF termination. All /usr/lib/sendmail interfaces (the interface used by PHPs mail() function) I've dealt with has no problem accepting messages in that format, and will happily convert them to the correct line endings when transporting the message via SMTP.
This message on the other hand seems to be using some strange hybrid. This could possibly be what's confusing Outlook.
Someone with more knowledge of the RoundCube codebase will have to figure out why this is happening...
Oh, and in case not everyone is up to date on the Internet e-mail TLAs:
MTA = Mail Transfer Agent MUA = Mail User Agent MDA = Mail Delivery Agent TLA = Three Letter Acronym
Bob