I've recently removed sendmail and installed postfix. "Almost" everything is fine. The transition was smooth.
The problem is I cannot send an email with an attachment.
I've tested it with a php script which was working flawlessly with sendmail. The mail (meaning headers, subject and body) is delivered correctly but there's no attachment.
When I click "show original" in Gmail on the test mail I've sent with my script, I can see the attachment data I've created with
Code:
$attachment = chunk_split(base64_encode(file_get_contents('attachment.txt')));But there is no downloadable attachment.
What do you think is wrong?
Thanks in advance.