I have had 2 identical mails (basically a mail that uses a Marketing Mailing template as html_body) being sent out with the method Email.send() and the method Message.send().
It seemes like Email.send() is not a god option anymore. Every mail I send with that method ends up in the Junk email folder in my Outlook. Message.send() works does not but need as ticket.
e.send(); //LEADS TO JUNK EMAIL
Integer msId = ms.save("Function SendReplyTemplate() have saved this message");
ms.send(v_to, v_cc, v_bcc, subject); //LEADS TO INBOX.
How come? It did not use to be like this?
And what method to use to script so the mail is sent through the marketing module instead so links can be measured?