dsb12300 2018-08-17 17:03
浏览 84

需要编写器在cPanel中添加Mailgun?

I'm obviously inexperienced when it comes to coding because I'm self taught but I was wondering if it's completely necessary to download Composer just to use the Mailgun files I've uploaded into cPanel in Godaddy. Chances are I need Composer or if I don't, I'm probably just messing up my own code. Either way, I want to figure out how to add Mailgun to my web app.

I've uploaded the file from Github into my cPanel directory under the folder "email". Here's the code for my php file:

<?php
require __DIR__ . '/email/mailgun-php-master/src/Mailgun/Mailgun.php';
use Mailgun\Mailgun;
$mailgun = new Mailgun('*I added my key here*', new \Http\Adapter\Guzzle6\Client());
?>

How do I get this to work? Thanks.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 保护模式-系统加载-段寄存器