I started testing this with 1.19, but found multiple attach with individual enc-types was broken.
Continued with 1.20b, which works where 1.19 didn't.
I'm attempting to replicate the way Outlook sends a meeting invitation. These messages contains three parts: text, html and an iCalendar entry.
The relevant part of the received message looks like this:
In fact, I know exactly how the message contents should be, so I was wondering if you would consider adding a way to specify the message contents as a raw text file?
And since I've been sending a lot of emails today to try to get this to work, I was also considering if you could add a -SaveTemporalyFileHereAndExit FilePath switch, which would be very handy for debugging message contents.
I started testing this with 1.19, but found multiple attach with individual enc-types was broken. Continued with 1.20b, which works where 1.19 didn't.
I'm attempting to replicate the way Outlook sends a meeting invitation. These messages contains three parts: text, html and an iCalendar entry. The relevant part of the received message looks like this:
I'm using this batch file to create and send the message:
I've tried lots of setups, but I can't replicate the output from Outlook. Here are three attempts that illustrate my problems:
1.
This includes both these lines in the mailsend call: -content-type "multipart/alternative" -disposition "inline"
The result is the html file visible when received in gmail - everything else is hidden.
2.
This one includes only this line in the mailsend call: -content-type "multipart/alternative"
The result is an empty body with four!!! attachments (txt, html, vcf,html) when received in gmail - although the mail contents look differently:
3.
This does not include any of these lines in the mailsend call: -content-type "multipart/alternative" -disposition "inline"
The result is an empty body with three attachments when received in gmail:
How can I do this? Is it even possible?
In fact, I know exactly how the message contents should be, so I was wondering if you would consider adding a way to specify the message contents as a raw text file?
And since I've been sending a lot of emails today to try to get this to work, I was also considering if you could add a -SaveTemporalyFileHereAndExit FilePath switch, which would be very handy for debugging message contents.