Hi,

I use the smtp module with the mimemail module and it produces problem when I want to send attachments.

If there is more than 3 lines in the header of a part of the mail, some header lines will stay in the part.

I change the function _smtp_remove_headers and create a patch to fix it.

I'm note sure maybe a header with more than 3 line is not permitted in this case it could be a problem from mimemail.

Comments

sja1’s picture

Status: Active » Needs review

changing status

bkonetzny’s picture

StatusFileSize
new968 bytes

When providing files/attachments with mimemail module, the 4th "Content"-parameter is the "Content-ID", which then breaks this function. I created a patch to filter all "Content"-parameters in the beginning of the content.

wundo’s picture

Status: Needs review » Closed (cannot reproduce)

Could you test this again? I think it was already fixed!