Peeyush Singh wrote:
Jon,
Changed smtp_server to localhost and it worked, thanks! :) I did all of that digging for nothing, heh. What was the issue? Anyway, thanks again.
Found the problem today: when not using an external SMTP host, RoundCube killed some headers before passing them to the mail() function. This should be solved with the latest CVS version.
-Regards Peeyush Singh
Sorry! Thomas
On Sun, 5 Feb 2006 17:37:49 -0500 (EST), Jon Daley roundcube@jon.limedaley.com wrote:
Replying off list, because they seem to be ignoring me, and I don't need to repeat myself again there. Are you using php_mail, or an smtp server? Try switching entering smtp server if you aren't. Please let me know if that makes a difference, or if you are already doing that.
On Sun, 5 Feb 2006, Peeyush Singh wrote:
Hi,
First off I'd like to say thanks to everyone involved with RC for their
hard work. You guys have produced one of my ideal webmail clients. I love it! :)
Ok, so on to my problem. I'm running FreeBSD 6.0 with Courier-IMAPd &
Postfix, and "User-Agent: RoundCube Webmail/0.1b"
For some odd reason, I'm having trouble sending e-mails with
attachments. I did some investigating and found that the resulting e-mail's primary header didn't contain Content-Type. It should be something along the lines of Content-Type: multipart/mixed; boundary="..." So I browsed through the source, found where the actual mail is sent, and added some code to add that header specifically (which uses a regex to extract the boundary string as I noticed the encoding is reliant on PEAR:Mail_mime).
No dice :(. I played around with Content-Transfer-Encoding, and
Content-Type to no avail. I have no idea what's causing this. I sent an almost identical email (with the same attachment) through SquirrelMail, removed the extraneous headers (time, etc.) and did a diff. Practically no difference! The base64 encoding looked fine. The only differences were in the body text charset and transfer encoding.
So as it is, I'm out of ideas. If you guys want to see the actual
e-mails, I can send those if you like. Heck, give me your email address and I'll send you an e-mail with an attachment and you can see for yourself what's wrong.
My guess is either some character encoding issue(s) or a problem with
perhapse PEAR:Mail_mime. I'm not sure yet. Any help would be appericiated :)
-Regards
Peeyush Singh
Jon Daley http://jon.limedaley.com/
Music is what feelings sound like. -- Anonymous