How can I find the VB API-documentation for the methods existing on CurrentEnvironment.Toolkit.MegaMailSender ?
I need to CC on a mail
Solved! Go to Solution.
I don't understand why MEGA hasn't documented their VB API.
When developing VB scripts you can not expect the customers to guess methods into your API
But this is Java. I'm looking for the VB documentation from MEGA.
I can't find it
There is also this method that might help you.
Hello,
In the online Mega docs you can find the section that links you to the API documentation. Both links are pasted below.
HOPEX Docs
https://doc.mega.com/hopex-v4-en/#page/MTS2/API/garde_APIJava.html
API Docs
https://doc.mega.com/javadoc/mj_toolkit/
I have also attached a screenshot of the specific method that I believe you are looking for. I hope that this helps.
Kind regards,
Hi,
Don't have documentation, but best i can do is share this script in case you need something like this urgently.
strEMail1 = xxx@mega.com
strEMail2 = jsmith@mega.com
Set omailer = CurrentEnvironment.Toolkit.MegaMailSender
omailer.Subject = "Test of mail sending (subject)"
omailer.Sender = strEMail1
omailer.EnableHtml = TRUE
omailer.Body = "Test of mail sending (body)"
omailer.Recipients.Insert strEMail2
print omailer.SmtpSend
WARNING We have changed our authentication method to support single sign-on (SSO).
To learn how SSO will affect your access to the MEGA Community, please read the FAQ here