Configre SMTP to go via MailGun

Hi
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?

Dave
LVL 14
daveslaterAsked:
Who is Participating?

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

x
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.

systechadminConsultantCommented:
you will need to sign up with MailGun as free member. Refer below link
http://www.mailgun.com/pricing
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).

http://www-01.ibm.com/support/docview.wss?uid=nas8N1018618

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' \
    https://api.mailgun.net/v3/samples.mailgun.org/messages \
    -F from='Excited User <excited@samples.mailgun.org>' \
    -F to='devs@mailgun.net' \
    -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.