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:
I’d appreciate any guidance, configuration examples, or best practices for testing email workflows with Mailtrap.
Thanks in advance!
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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://blog.floriancourgey.com/2018/10/get-the-content-of-your-serverconf-xml-in-adobe-campaign/
Views
Replies
Total Likes
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?
Views
Replies
Total Likes
Views
Likes
Replies