Expand my Community achievements bar.

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

Avatar

Level 1

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!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

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/additi...

https://experienceleague.adobe.com/en/docs/campaign-classic/using/installing-campaign-classic/additi...

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

 


     Manoj
     Find me on LinkedIn

Avatar

Level 1

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?