Child pages
  • Fixing email issues

This information applies to MYOB AccountRight version 19. For later versions, see our help centre.


 

 

ANSWER ID:9229

Here are some solutions to the most common email errors and issues. Can't find what you need? Try the community forum or contact us.

I'm getting an error


"Cannot load "MAPI32.dll". Please install MAPI."

Image

The error "Cannot load "MAPI32.dll". Please install MAPI." means a required component (MAPI) is missing from your computer.

To fix this error, see Error: "Cannot load "MAPI32.dll"" when emailing.

"The attachment file was created successfully, but there was an error writing it."

Image

The first thing to do if you're receiving this error is to ensure you've installed all available updates for Microsoft Office. For help installing Office updates, see this Microsoft article.

If the issue persists

The error can be fixed by changing the properties of your AccountRight v19 shortcut (the icon you click to start AccountRight):

  1. Close AccountRight.
  2. Right-click the AccountRight shortcut and choose Properties.
  3. Take note of the Target as shown in this example:
    Image
  4. Add the following to the start of the Target (you can copy this and paste it in front of your existing Target):

    C:\Windows\System32\cmd.exe /C "set __COMPAT_LAYER=RUNASINVOKER & start

    Example: If your Target is C:\Plus19\Myob.exe change it to: C:\Windows\System32\cmd.exe /C "set __COMPAT_LAYER=RUNASINVOKER & start C:\Plus19\Myob.exe"
     
  5. Click OK.

Still getting the error? Uninstall and reinstall AccountRight. If you're still stuck, contact us and we'll help you out.

"An email session could not be started. Please check your MAPI installation."

Image

The error "An email session could not be started. Please check your MAPI installation." can occur if you're not using Microsoft Outlook 2007 and later (32-bit) to send your emails.

If you are using Microsoft Outlook 2007 and later (32-bit), you can fix this error by uninstalling and reinstalling AccountRight.

"A program is trying to access e-mail address information stored in Outlook."

Image

The error "A program is trying to access e-mail address information stored in Outlook." is an Outlook security warning which occurs when sending an email through a 3rd party program. The email is from AccountRight so it's fine to click Allow to send it.

You can stop this message by changing a preference in Microsoft Outlook. This is a temporary solution which should only be done if you have up-to-date antivirus software on your computer. This Outlook security setting is intended to prevent malicious and unauthorised access to Outlook, so you should discuss the implications of changing it with an IT person.

To change the Outlook preference

Outlook 2010 or later

  1. Close Microsoft Outlook.
  2. Simultaneously hold down the Shift key on your keyboard and right-click the Outlook icon (or shortcut) and choose Run as administrator.
  3. In Microsoft Outlook go to the File menu and choose Options.
  4. Click Trust Centre, then click Trust Centre Settings.
  5. Click Programmatic Access. This will display 3 options.
  6. Select the first or last option - whichever best suits your needs. If the middle option (Always warn me about suspicious activity) is selected, you will still be prompted to allow or deny each time you send an email from AccountRight.
  7. Click OK.

Outlook 2007

  1. In Microsoft Outlook go to the Tools menu and choose Trust Centre.
  2. Click Trust Centre Settings.
  3. Click Programmatic Access. This will display 3 options.
  4. Select the first or last option - whichever best suits your needs. If the middle option (Always warn me about suspicious activity) is selected, you will still be prompted to allow or deny each time you send an email from AccountRight.
  5. Click OK.
"A program is trying to send an e-mail message on your behalf."

The error "A program is trying to send an e-mail message on your behalf." is an Outlook security warning which occurs when sending an email through a 3rd party program. The email is from AccountRight so it's fine to click Allow to send it.

You can stop this message by changing a preference in Microsoft Outlook. This is a temporary solution which should only be done if you have up-to-date antivirus software on your computer. This Outlook security setting is intended to prevent malicious and unauthorised access to Outlook, so you should discuss the implications of changing it with an IT person.

To change the Outlook preference

Outlook 2010 or later

  1. Close Microsoft Outlook.
  2. Simultaneously hold down the Shift key on your keyboard and right-click the Outlook icon (or shortcut) and choose Run as administrator.
  3. In Microsoft Outlook go to the File menu and choose Options.
  4. Click Trust Centre, then click Trust Centre Settings.
  5. Click Programmatic Access. This will display 3 options.
  6. Select the first or last option - whichever best suits your needs. If the middle option (Always warn me about suspicious activity) is selected, you will still be prompted to allow or deny each time you send an email from AccountRight.
  7. Click OK.

Outlook 2007

  1. In Microsoft Outlook go to the Tools menu and choose Trust Centre.
  2. Click Trust Centre Settings.
  3. Click Programmatic Access. This will display 3 options.
  4. Select the first or last option - whichever best suits your needs. If the middle option (Always warn me about suspicious activity) is selected, you will still be prompted to allow or deny each time you send an email from AccountRight.
  5. Click OK.
"I/O Error in Routine"

Image

The error "I/O Error in Routine" can be caused by a temporary PDF file on your computer which is preventing the document from being created and emailed. For help finding and deleting this file, see Error: "I/O Error in Routine" when emailing.

"cmc_logoff" or "cmc_free"

Here's an example of a "cmc" error:

The first thing to check with "cmc" errors is that the recipients' email addresses are correct. If they are, you'll need to repair Microsoft Outlook. Here's how:

If you're usingDo this
Outlook 2013 or later

Repair Microsoft Outlook by following the instructions in this Microsoft support article.

If the error persists after repairing Outlook, complete the steps for Outlook 2010 or earlier below.

Outlook 2010 or earlier
  1. Close AccountRight.
  2. Simultaneously press the Windows Image and E keys on your keyboard (the Windows Image key is between the Ctrl and Alt keys). The File Explorer or Windows Explorer window appears.
  3. Navigate to the MapiEX folder in your AccountRight program folder, for example C:/PlusClassic/MapiEx
  4. Right-click the file called MapiEX Disable and choose Cut.
  5. Right-click your AccountRight program folder (such as PlusClassic) and choose Paste.
  6. Launch AccountRight and attempt to send your emails again.
"Either there is no default mail client or the current mail client cannot fulfill the messaging request."

The error "Either there is no default mail client or current mail client cannot fulfill the request" will occur if you're using the 64-bit version of Microsoft Office. Your MYOB software is only compatible with the 32-bit version of Microsoft Office.

If you're using the 32-bit version of Microsoft Office and receiving this error, make sure outlook is the default email program. See this outlook article.

Something else isn't working


Pictures missing from email attachments

If pictures are missing from your emailed attachments, see Images not displaying in customised forms.

Sent emails not appearing in Outbox or Sent Items folder

If your emails from AccountRight aren't appearing in the Outbox or Sent Items folder, make sure Outlook is set as your default email program.

If the issue persists, you might have an issue with Microsoft Outlook. Check the Microsoft support site for help and software updates.

AccountRight is closing when sending multiple emails (Outlook 2016 only)

If AccountRight is closing when sending multiple emails through Microsoft Outlook 2016, it usually means Outlook needs fixing. Repairing Microsoft Outlook should fix this problem - see this Microsoft support article for help.

Field missing from emailed attachment

If a field is missing from an emailed attachment (but the field shows when the form is printed), customise the form to make the field larger or reduce the size of the font in the field.

See this support note for instructions.

PDF not attached to email

If your emails from AccountRight don't have PDF attachments, security software on your computer might be interfering with the email being sent from AccountRight to Outlook. Try temporarily disabling security software (antivirus, firewall, etc.) to see if this identifies the program which might be interfering. You might need help from an IT person to resolve this issue.

As a temporary workaround, you can save the document as a PDF file and use Outlook to attach it to an email. To save a document as a PDF file from AccountRight, display the document then click Send To and choose PDF.

Removing emails waiting to be sent (without sending them)

If you have an email waiting to be sent from AccountRight but you don't want to send it, open the transaction and change the Delivery Status to Already Printed or Sent .

If you have lots of emails waiting that you don't want to send, disconnect your computer from the internet, "send" the emails from AccountRight, then delete them from the Outbox in Outlook. You can then reconnect your computer to the internet.

Can't select a customer or supplier when emailing

If you can't select a contact when emailing, make sure the customer's or supplier's card isn't set to Inactive (check on the Profile Tab of their card).

Be aware that customer statements can't be emailed if the customer's outstanding balance is zero. Similarly, supplier remittance advices can't be emailed if the supplier accounts payable balance is zero.

Setting "To Be Emailed" as the default invoice delivery method for a customer

You can set the Invoice Delivery preference on the Selling Details tab of the customer's card (Card File command centre > Cards List > Customer tab > open the card > Selling Details tab).

Sent emails include an attachment called "Winmail.dat"

If you are using AccountRight 19.14 or above

  1. Close AccountRight.
  2. Simultaneously press the WindowsImage and E keys on your keyboard (the WindowsImage key is between the Ctrl and Alt keys). The File Explorer or Windows Explorer window appears.
  3. Navigate to the MapiEX folder in your AccountRight program folder, for example C:/PlusClassic/MapiEx
  4. Right-click the file called MapiEX Disable and choose Cut.
  5. Right-click your AccountRight program folder (such as PlusClassic) and choose Paste.
  6. Launch AccountRight and attempt to send your emails again.

If the issue persists or you are using an earlier version of AccountRight try the following.

As discussed in this Microsoft support article, if Outlook is set up to compose emails in Rich Text Format, Outlook will sometimes attach a file called "Winmail.dat" to your emails. To stop this, ensure Outlook is set up to compose emails in Plain Text. This setting is usually under the Mail settings in Outlook.

  • In Outlook 2010 and later: File > Options > Mail > Compose messages
  • In Outlook 2007: Tools > Options > Mail Format > Message Format

If the issue persists, go back into the Outlook settings and change the message format from Plain Text to HTML and try emailing again.

If only some recipients are receiving the Winmail.dat attachment

You may need to reset the message format for those recipients' email addresses. Here's how:

If you're usingDo this
Outlook 2016 or later
  1. Make sure the email address is not in your Outlook contacts.
  2. Open an email from the desired email address or start a new message to it.
  3. Highlight the email address, then right-click it and choose Open Outlook Properties.
  4. Ensure the Internet Format is set to either Let Outlook decide the best sending format or Send Plain Text only.
  5. Click OK.
Outlook 2007-2013
  1. Search for the contact in your Outlook Contacts.
  2. Double-click the contact's email address.
  3. Ensure the Internet Format is set to either Let Outlook decide the best sending format or Send Plain Text only.
  4. Click OK.

 

 

Emails are sent from the wrong email address

If emails from AccountRight are being sent from the wrong email address, make sure your preferred email address is set as the default in Outlook.

I'm being prompted to 'Choose Profile' when emailing

If you're being prompted to 'Choose Profile' or to select a Profile Name when emailing, make sure Microsoft Outlook is open then resend the emails.

  FAQs


Which email program can I use to send emails?

AccountRight v19 works with Microsoft Outlook 2007 and later (32-bit versions only).

If you have an Office 365 subscription, make sure Outlook is installed locally.

What AccountRight version do I need to work with Outlook 2016 or later?

You'll be able to use Microsoft Outlook 2016 or later if you're using a newer AccountRight version. If you have an Office 365 subscription, make sure Outlook is installed locally.

If you're in...You'll need to use...
AustraliaAccountRight Plus, Premier or Enterprise v19.11.2 (or later)
New ZealandAccountRight Standard, Plus, Premier or Enterprise v19.8.1 (or later)

To check your current AccountRight version, go to the Help menu and choose About AccountRight. To check for updates, go to the Help menu and choose Updates and then Check for Updates.

To learn more about managing software updates, see the AccountRight help (Australia | New Zealand).

Can I use a web email service through Outlook?

If you usually send emails via a web email service, such as Gmail, you can most likely access and send emails from Microsoft Outlook via IMAP or POP.

You'll need to refer to your email provider's instructions on how to access and send your emails from Outlook, but here's some information that might help you out: