Configre SMTP to go via MailGun

we have been running smpt on the 400 for years. We are looking to use MailGun to route the emails.
I am struggling where to find how to pass the mailgun userid and password.

Does anyone have any ideas?

LVL 14
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you will need to sign up with MailGun as free member. Refer below link
Gary PattersonVP Technology / Senior Consultant Commented:
Here is the process to configure SMTP authentication in the IBM i mail client, which is what I assume you're looking for (this support was added in V6R1).

If you're on an earlier OS version, you'll either need to use a different mail client, write custom code to support authentication, or use an intermediary smarthost that supports SMTP authentication.  Some of our customers use their Exchange server to do that, since the Exchange SMTP Connector supports authentication to an upstream mail host.

And if you aren't locked-in to SMTP, MailGun has a pretty simple API.  From their home page:

curl -s --user 'api:key-3ax6xnjp29jd6fds4gc373sgvjxteol0' \ \
    -F from='Excited User <>' \
    -F to='' \
    -F subject='Hello' \
    -F text='Testing some Mailgun awesomeness!'

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.