Hi ROC_MYOB
This endpoint would appear to be merely the result, not the cause of a problem in emailing from MYOB - something I long ago suspected as faulty but could get no traction with MYOB.
The endpoint may just be leveraging a faulty emailing code within MYOB - however, I do not have cast-iron proof just suspicions that go back years and the suspicions heightened recently.
After writing code to auto-invoice for a client - something that manual staff were dropping the ball on regularly, delaying completed orders conversion to invoices and emailing out the invoice for account customers for up to 3 weeks sometimes to the tune of 500k in revenue - then auto-invoicing came as a breeze of fresh air - hmm - but doubled edged it seems.
Everything worked - it was tested - emailing using the emailing endpoint and a normal email address eg
mailto:bob@thehappyhomre.com.au - it worked well - however, I didn't test emailing to MYOB's in-trays in MYOB files email addresses look like this
mailto:17685907-0a92-48e6-9aae-9b980690c663@document.myob.com which nicely puts invoices into MYOB file in-trays.
80% of my client's customers were franchisees running MYOB files they managed and the email addresses were of this type. On the 3rd day of running the new code we had a catchup to do 344 invoices to go out - code worked beautifully -
- Check Web status - Order Completed - tick
- Download Sales Order from MYOB - as Sales Order from Web may not be upto date - orders change
- Create invoice and POST to MYOB via API- tick
- Delete Sales order - through API - tick
- Download Sales Invoices - as UID is needed to email invoice - tick worked
- Download Customers from MYOB to check email address - tick
- Email Invoices using email endpoint - 100% error free - not 1 error
344 invoices sent - ALL clients with in-tray emails - 80% never received invoices; YET - check the emailing app in MYOB - sent emails - it shows email sent AND RECEIVED!
And worse - yesterday when we found this error - the emailing app in MYOB just timed out saying cannot connect - and nothing to do with internet access, slow internet - I am on very fast NBN - open 2 other MYOB files at the same time - select the email app in the file - pops up instantly.
So my client had to go into each of these invoices - now up to 500 because that is how many in the past week not sent out by the emailing app that had to be manually opened - select - 'send email' - top left and sent. That appears to work - though I need that confirmed.
2 years ago on my son's business myob file - payslips were sent to staff - every single pay period - emails for some staff were not received - dropped, missed or mysteriously vanished. This problem not pops up as a warning I suspect.
Houston - we have a problem - I cannot rely on the emailing up in MYOB to send invoices to clients.
I am now coding my auto-invoicing app to send out invoices via CDO code from my application which does not use Outlook as the emailer - in the past this process works 100% or tells you with an error.
Folks I am not saying categorically there is a problem but you know the saying about smelling like duck poo, looking like duck poo etc.
The end point may not actually be the culprit but then I don't think it is Lilly white.
If you want to discuss MYOB please call me 0415262694
The Doc