Sending Emails to Mailtrap for Workflow Testing in Adobe Campaign Classic (v7/v8) on Windows | Community
Skip to main content
Level 2
March 20, 2025
Question

Sending Emails to Mailtrap for Workflow Testing in Adobe Campaign Classic (v7/v8) on Windows

  • March 20, 2025
  • 1 reply
  • 149 views

Hi everyone,

I’m working with Adobe Campaign Classic on Windows, and I’d like to send emails to Mailtrap just for testing purposes. My goal is to configure Adobe Campaign so that emails from workflows are delivered to Mailtrap, allowing me to verify the output.

Has anyone successfully set up Mailtrap with Adobe Campaign? If so:

  • What SMTP settings should I configure in Campaign Classic?
  • Are there any specific parameters I need to modify in the serverConf.xml or delivery settings?
  • Do I need to change anything in the external accounts section?
  • Any potential issues to watch out for when using Mailtrap with Campaign Classic?

I’d appreciate any guidance, configuration examples, or best practices for testing email workflows with Mailtrap.

Thanks in advance!

1 reply

Manoj_Kumar
Community Advisor
Community Advisor
March 21, 2025

Hello @parziva1 

 

I have tried using Mailtrap but have used Hmail to send test emails. Hmail config was pretty simple in server config 

 

For Mailtrap, It should be configurable under server config and will use the default email routing from external account.

Look at these documents:

https://experienceleague.adobe.com/en/docs/campaign-classic/using/installing-campaign-classic/additional-configurations/configure-delivery-settings#smtp-relay

https://experienceleague.adobe.com/en/docs/campaign-classic/using/installing-campaign-classic/additional-configurations/configure-delivery-settings#smtp-relay

https://blog.floriancourgey.com/2018/10/get-the-content-of-your-serverconf-xml-in-adobe-campaign/

 

Manoj     Find me on LinkedIn
parziva1Author
Level 2
March 21, 2025

Thank you for your answer.

So i tried hMailServer also but I've been experiencing an issue with it: emails are not arriving at my Gmail address. For example, I use the following PowerShell command to send an email:

Send-MailMessage -To 'to@gmail.com' -From 'from@mydomain.com' -Subject 'Your message subject' -Body 'Some important plain text!' -Credential (Get-Credential) -SmtpServer '127.0.0.1' -Port 25

where 'to@gmail.com' and 'from@mydomain.com' are the right data.

Despite the command indicating success, nothing appears in the Gmail inbox.

about my config

The configuration involves two files: serverConf.xml and config-local.xml (with "local" being my instance name). I suspect there might be an issue with the settings in config-local.xml.

In serverConf.xml, under the <mta> tag, I have:

<relay address="127.0.0.1" port="25"/>

And in config-local.xml, the configuration is as follows (I've experimented with various values for <IP address="" heloHost="" publicId="" weight=""/>):

<mta autoStart="true" statServerAddress="localhost">
  <child>
    <smtp>
      <IPAffinity name="default,mid.default,dev.default,test.default">
        <!-- For dev instances, if you need a default IP (not recommended), use address="0.0.0.0" -->
        <IP address="" heloHost="" publicId="" weight=""/>
      </IPAffinity>
    </smtp>
  </child>
</mta>

Each time I modify the settings, nothing changes. I've verified this by checking the log journals for both mta@local and mtachild@local. When I start the mta@local instance, it successfully connects to the database and initializes.

when I run a simple workflow that ends with an "email delivery" step, the workflow completes with a "finished" status, confirming delivery. Yet, there is no log evidence that any email was sent.

Could there be a misconfiguration in config-local.xml, or is there another reason why the email isn't reaching my Gmail inbox?

Manoj_Kumar
Community Advisor
Community Advisor
March 24, 2025

Hello @parziva1  hmail won't send email to your real email address but will as a proxy to receive email send the to a local address on your machine.

In hmail you can create local domains and assign a alias(email) to it. This email then needs to be configured in outlook to receive email.

 

 

Manoj     Find me on LinkedIn