‎10-02-2023 03:38 PM - edited ‎10-02-2023 03:39 PM
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.
‎20-02-2023 08:25 AM
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
‎20-02-2023 08:23 AM
But this is Java. I'm looking for the VB documentation from MEGA.
I can't find it
‎18-02-2023 06:28 AM
There is also this method that might help you.
‎18-02-2023 06:26 AM
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,
‎14-02-2023 01:17 PM
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