We have problem with Xerox VersalinkC7020 device.
Users receive error 027-504 when try to scan big count of pages (over 20). Scanning to email works fine with 5 pages for example, so, problem appear only with bigger size attachment.
Currently we have the next SMTP settings:
- smtp.office365.com server;
- 587 port;
- SSL enabled;
- AAD account for authentication;
We don't have any attachment size restrictions for AAD account in Exchange online, and with the next script, attached file (20MB) successfully deliver to my mailbox (the same credentials and settings we use for MFP):
$fromaddress = "AAD acount name"
$toaddress = "My mailbox address"
$Subject = "Test message"
$body = "Please find attached - test"
$attachment = "C:\temp\test.xmls"
$smtpserver = "smtp.office365.com"
$message = new-object System.Net.Mail.MailMessage
$message.From = $fromaddress
$message.IsBodyHtml = $True
$message.Subject = $Subject
$attach = new-object Net.Mail.Attachment($attachment)
$message.body = $body
$smtp = new-object Net.Mail.SmtpClient($smtpserver, 587)
$smtp.EnableSsl = $true
$smtp.Credentials = New-Object System.Net.NetworkCredential('AAD acount name','PASSWORD');
I have installed last available firmware for this MFP model.
We also increased all related to attachment size settings, through MFP WEB interface, but problem still exist.