?>

Integrate Mailgun with SMTP by Connect

Appy Pie Connect allows you to automate multiple workflows between Mailgun and SMTP by Connect

  • No code
  • No Credit Card
  • Lightning Fast Setup
20 Million man hours saved

Award Winning App Integration Platform

About Mailgun

Mailgun is the email automation engine trusted by over millions of websites and application developers for sending, receiving and tracking emails.

About SMTP by Connect

Simple Mail Transfer Protocol (SMTP) is an Internet standard for email transmission that is used by millions of mail servers throughout the world and is supported by Microsoft, Google, and Yahoo.

SMTP by Connect Integrations

Best ways to Integrate Mailgun + SMTP by Connect

  • Mailgun Integration SMTP by Connect Integration

    Mailgun + SMTP by Connect

    Send Email in SMTP by Connect when New Unsubscriber is created in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    SMTP by Connect Integration Send Email
  • Mailgun Integration SMTP by Connect Integration

    Mailgun + SMTP by Connect

    Send Email in SMTP by Connect when New Subscriber is created in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Subscriber
     
    Then do this...
    SMTP by Connect Integration Send Email
  • Mailgun Integration Gmail Integration

    Mailgun + Gmail

    Create Draft to Gmail from New Unsubscriber in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    Gmail Integration Create Draft
  • Mailgun Integration Gmail Integration

    Mailgun + Gmail

    Send Email in Gmail when New Unsubscriber is created in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    Gmail Integration Send Email
  • Mailgun Integration Gmail Integration

    Mailgun + Gmail

    Create Label to Gmail from New Unsubscriber in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    Gmail Integration Create Label
  • Mailgun Integration {{item.actionAppName}} Integration

    Mailgun + {{item.actionAppName}}

    {{item.message}} Read More...
    Close
    When this happens...
    {{item.triggerAppName}} Integration {{item.triggerTitle}}
     
    Then do this...
    {{item.actionAppName}} Integration {{item.actionTitle}}
Connect Mailgun + SMTP by Connect in easier way

It's easy to connect Mailgun + SMTP by Connect without coding knowledge. Start creating your own business flow.

    Triggers
  • New Subscriber

    Triggers whenever a new subscriber is added.

  • New Unsubscriber

    Triggers when a current subscriber unsubscribed.

    Actions
  • Send Email

    Sends a plaintext email from a specific SMTP server.

Compliance Certifications and Memberships

Highly rated by thousands of customers all over the world

We’ve been featured on

featuredon
Page reviewed by: Abhinav Girdhar  | Last Updated on July 01, 2022 5:55 am

How Mailgun & SMTP by Connect Integrations Work

  1. Step 1: Choose Mailgun as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick SMTP by Connect as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from Mailgun to SMTP by Connect.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of Mailgun and SMTP by Connect

Mailgun?

Mailgun is a San Francisco based Cloud-based email service, which provides hosted Email services. It was launched in 2009 by Ben Chestnut, Evan Wies and Hélène Basulto. It provides support for the standard protocp like SMTP, IMAP, POP3 and also IRC. This integration will help the developers to integrate Mailgun into their application easily.

SMTP by Connect?

SMTP by Connect is a managed email sending service powered by the cloud. SMTP by Connect allows users to send bulk emails with custom templates through multiple SMTP servers. This integration will help the developers to integrate SMTP by Connect into their application easily.

Integration of Mailgun and SMTP by Connect

This integration will help the developers to integrate Mailgun into their application easily. With the help of the simple steps given below, you can integrate Mailgun into your application.

Step 1. To integrate Mailgun into your application, you have to create an account on Mailgun. They offer a free plan for small projects. You can visit https://mailgun.com/pricing to read about their pricing plans. For more information, you can visit https://mailgun.com/signup.

Step 2. After creating an account on Mailgun, you have to go to their Dashboard. From here, you will be able to see your Mailgun’s unique API key, which looks like this “XJikdFUVhRKFVfMn4Q==”. Copy this API Key and save it somewhere safe for future use.

Step 3. Now, you have to configure your application for using Mailgun services. To do that, you have to create a key file for your app by using the fplowing command in your terminal:

$ php artisan config:publish mailgun/mailgun --provider="mailgun" --key="YOUR_API_KEY" 1 $ php artisan config . publish mailgun / mailgun -- provider = "mailgun" -- key = "YOUR_API_KEY"

Note. Replace YOUR_API_KEY with your API key and press Enter.

After executing this command, a key file will be created for your application and will be saved under the app/config directory of your application. This file looks like this:

//File. app/config/packages/mailgun/mailgun.php return [ 'secret' => 'YOUR_API_KEY', 'base_url' => 'https://api.mailgun.net', ]; 1 2 3 4 5 6 7 8 //File. app/config/packages/mailgun/mailgun.php return [ 'secret' = > 'YOUR_API_KEY' , 'base_url' = > 'https://api.mailgun.net' , ] ;

Step 4. Now, you have to use this newly created configuration file in your application instead of the one we created in Step 3. To do that, open the app/config/app.php file and find this line:

//File. app/config/app.php // ... // ... // ... // ... // ... return [ 'key' => env('MAILGUN_API_KEY'), ]; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 //File. app/config/app.php // ... // ... // ... // ... // ... return [ 'key' = > env ( 'MAILGUN_API_KEY' . , ] ;

Replace MAILGUN_API_KEY with your API key from Step 3 and save the file. Now, our application is ready to use Mailgun services. We can now move ahead with the integration of Mailgun into our application from Step 5 onwards. But before we move ahead, let’s take a look at some of their mailing features present in Mailgun Dashboard. These features are shown in the screenshot below:

Step 5. The first step towards integrating Mailgun to our application is to make it work with SMTP by Connect while sending mails or bulk mails via our application (I mean while sending them via SMTP. To do that, we will define “from” parameter in our configuration file under “send” array as shown below:

//File. app/config/packages/mailgun/mailgun.php return [ 'secret' => 'YOUR_API_KEY', 'base_url' => 'https://api.mailgun.net', 'send' => [ 'from' => ['[email protected]'], ], ]; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 /* File. app/config/packages/mailgun/mailgun.php */ return [ 'secret' => 'YOUR_API_KEY', 'base_url' => 'https://api.mailgun.net', 'send' => [ //.. snip .. ], ]; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124

The process to integrate Mailgun and SMTP by Connect may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.