Is this a swiftmail problem?
Posted: Thu Jun 28, 2007 3:20 am
I'm having some issues with swiftmail and I dont know if it has to do with how I am doing things, or with swiftmail itself. I'm using 3.2.6 with php5 if it makes any difference.
I'm sending a multi part email with embedded images for the html part.
Initially I was manually embedding and referencing the images, and I eventually got that to work, though it was pretty ugly. I have the parts stored in different files, a .txt and a .htm, which are just loaded into a string, so switching the image references to the embedded values caused alot of issues.
Anyhow, I eventually got that working, in outlook at least, but it was just showing a red broken image in thunderbird. I was actually starting to think that thunderbird didnt display inline images at all.
Late last night, I swapped over to using the FileEmbedder plugin to see what I could see and ... hey hey ... thunderbird now works like a charm, and it's still seems all good in outlook.
So I went to bed last night all happy and contented, only to come back today to find that outlook now puts my emails into the junk mail folder, and defaults back to text mode viewing. Also, in case it's related, there appear to be extra line breaks (appear as blocks if highlighted, so might be tabs) both above and below the text body, which dont appear in the source code.
By this stage, I've gone through so many permutations trying to test this thing, that I cant figure out if this is something that I has happened since using the FileEmbedder, or if I changed the email in some other way, or even if I changed something in outlook.
I'm going to run some tests, but I just wondered if anyone can pick something simple out of the air.
Cheers .... will post back anything else I find.
I'm sending a multi part email with embedded images for the html part.
Initially I was manually embedding and referencing the images, and I eventually got that to work, though it was pretty ugly. I have the parts stored in different files, a .txt and a .htm, which are just loaded into a string, so switching the image references to the embedded values caused alot of issues.
Anyhow, I eventually got that working, in outlook at least, but it was just showing a red broken image in thunderbird. I was actually starting to think that thunderbird didnt display inline images at all.
Late last night, I swapped over to using the FileEmbedder plugin to see what I could see and ... hey hey ... thunderbird now works like a charm, and it's still seems all good in outlook.
So I went to bed last night all happy and contented, only to come back today to find that outlook now puts my emails into the junk mail folder, and defaults back to text mode viewing. Also, in case it's related, there appear to be extra line breaks (appear as blocks if highlighted, so might be tabs) both above and below the text body, which dont appear in the source code.
By this stage, I've gone through so many permutations trying to test this thing, that I cant figure out if this is something that I has happened since using the FileEmbedder, or if I changed the email in some other way, or even if I changed something in outlook.
I'm going to run some tests, but I just wondered if anyone can pick something simple out of the air.
Cheers .... will post back anything else I find.