SMTP

  • 14 Mar

    Office 365 SMTP OAuth2 Client Credentials Authentication with Certificate

    Office 365 SMTP OAuth2 Client Credentials Authentication with Certificate Authentication

    For use with Limagito File Mover requiring app-only SMTP access

    We recently added SMTP authentication using a private key file to our ‘SMTP as destination’ option. We did this already with Azure and Sharepoint.

    • Destination Setup > Add <SMTP>

    limagito file mover smtp as destination

    • Be sure to use Vendor 2 – CK

    limagito filemover smtp as destination setup

    • Email setup:

    limagito filemover smtp email setup

    • OAuth2 Setup:
      • If you prefer to use a Client Secret instead of a Certificate then you need to add it here
      • We left the Client Secret blanc because we are going to use a Certificate

    limagito file mover smtp oauth2 setup

    limagito file mover smtp authentication options

    – Some Azure Screenshots used in the previous document:

    limagito filemover azure setup

     

    • Azure App registrations:
      • Add a new registration here

    limagito filemover azure app registrations

    • Application (client) ID and Directory (tenant) ID will be needed in the SMTP OAuth2 setup.

    limagito filemover app registrations

    • Azure App registrations > Certificates & secrets
      • We used a Certificate but also a Client secret is possible, this is up to you.

    limagito filemover azure certificates and secrets

    • Azure App registrations > API permissions

    limagito filemover azure API permissions

    • Enterprise applications
      • Your App registration will be available under ‘Enterprise applications’
      • Application ID and Object ID will be used in the PowerShell commands of the Setup Guide.

    limagito filemover azure enterprise applications

    • Exchange admin center > Recipients > Mailboxes
      • After using the PowerShell commands you should see
        • Send as (1)
        • Read and manage (Full Access) (1)
      • They both should contain a reference to the App registration used

    limagito filemover azure exchange admin center

    limagito filemover exchange admin center

    limagito filemover exchange admin center

    • RunTime Log Result:

    limagito filemover smtp runtime log result

     

    If you need any help with this ‘SMTP OAuth2 Client Credentials Authentication’ setup, please let us know.

    Best Regards,

    Limagito Team

    #smtp #filemover #managedfiletransfer #filetransfer #filemanagement

  • 21 Sep

    How to add additional files dynamically with smtp as destination

    How to add additional files dynamically with smtp as destination

    Q: I would need to send more than one selected file as attachments to a single mail-recipient. I haven’t managed to get it to work though. LimagitoX always send one mail per attachment. Are multiple attachments possible? It would be of considerable benefit to us, to be able to send multiple attachments. Would it be possible to add the discussed feature? We could be willing to contribute financially if that would persuade you.

    A: In version v2025.9.17.0 we added an option to add additional file(s) to SMTP as Destination. It is not exactly what you are asking but it could be used to achieve the same result.

    The following example will email all pdf files from a Source folder and when emailed successfully they will be deleted afterwards.

    • We used a Windows folder as Source:

    limagito file mover windows as source

    limagito file mover windows folder as source

    • Click <Schedule> > Advanced Tab > Set Max. Files processed in One Scan to 1
      • We just need one file from the source folder as a trigger to send the email

    limagito file mover schedule setup

    • Function Setup
      • Although the function is set to ‘Copy Files’ we’ll delete the source files using our Pascal Script option when the email was sent successfully
      • Select ‘Destination Memory & Exit Cyclus on Error’
        • This means that when the Second Destination fails (sending the email), then the third Destination will not be executed (deleting the Source files)

    limagito file mover function setup

    • Destination Setup:
      • First Destination: Pascal Script
      • Second Destination: SMTP
      • Third Destination: Pascal Script

    limagito file mover destination setup

      • First Destination: Pascal Script
        • Script available here: link
        • This Pascal Script will search for all pdf files from the Windows as Source folder
        • These files are added to a Pascal Script String Var:  %VSA

    limagito file mover pascal script as destination

      • Second Destination: SMTP

    limagito file mover additional files dynamically with smtp

        • Add the variable  %VSA  to the Additional field
          • Variable  %VSA  contains all pdf files found in the Windows Source folder
        • Disable ‘Include Source File as Attachment’ because this file is already included in the Additional  %VSA  variable

    limagito file mover additional files dynamically with smtp

      • Third Destination: Pascal Script
        • Script available here: link
        •  This Pascal Script will delete all pdf files from the Windows as Source folder when the email was sent successfully.

    limagito file mover pascal script as destination

    • RunTime Log Result:

    limagito file mover runtime log

    If you need any help about this ‘additional files dynamically with smtp’ option, please let us know.

    Best Regards,

    Limagito Team

    #smtp #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Email SMTP ,
  • 17 Sep

    How to add an additional file with smtp as destination

    How to add an additional file with smtp as destination

    In version v2025.9.17.0 we added an option to add additional file(s) to the SMTP as Destination.

    • This makes it possible for example to send a fixed ‘Terms and Conditions’ pdf file as attachment
    • Double click on the Additional field to add multiple files
    • Also string variables like %VSA .. %VSE can be used to make it dynamic
      • The string variable can be adjusted using Pascal Script

    limagito file mover additional file with smtp

    If you need any help about this ‘additional file with smtp’ option, please let us know.

    Best Regards,

    Limagito Team

    #smtp #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Email SMTP ,
1 2 3 4 7
SEARCH