Hello,
I know there is a way to send mails via Outlook - once the key is pressed an Outlook window appears and u send a mail manually. I need to use oSMTP to send bulk mails to various recipients.
I have an issue with a template - I tried a template in MS Word, OFT or HTML. This template is a body mail then some parts are replaced by placeholders like<<TEXT>>.
Unfortunately it seems whatever template I use it is always being sent as plain raw text.
1. I used a template.txt, mail was sent correctly - but was just ugly as it has no any format.
2. I used HTML template - mail was sent but Outlook rendered it as raw data (HTML body set) or after messing with it more the mail was completely blank.
3. The same was with OTF (Outlook template) format - either blank or raw data.
Is there a way to send a mail from VBA, without the Outlook itself (so using oSMTP in the background) but which would be formatted by a template I provide? I don't know where I fail.
I know there is a way to send mails via Outlook - once the key is pressed an Outlook window appears and u send a mail manually. I need to use oSMTP to send bulk mails to various recipients.
I have an issue with a template - I tried a template in MS Word, OFT or HTML. This template is a body mail then some parts are replaced by placeholders like<<TEXT>>.
Unfortunately it seems whatever template I use it is always being sent as plain raw text.
1. I used a template.txt, mail was sent correctly - but was just ugly as it has no any format.
2. I used HTML template - mail was sent but Outlook rendered it as raw data (HTML body set) or after messing with it more the mail was completely blank.
3. The same was with OTF (Outlook template) format - either blank or raw data.
Is there a way to send a mail from VBA, without the Outlook itself (so using oSMTP in the background) but which would be formatted by a template I provide? I don't know where I fail.