I have a PHP application running on Openshift and I need receive e-mails from gmail using imap protocol. In my local machine I am able to get emails from gmail using the same code, but when I am running from Openshift I can not get emails. I suppose that the problem is the php-imap which I had to install in my local machine. I am not sure if this module is already installed in Openshift. Should I install php-imap or this module is enable for default on server?
2条回答 默认 最新
- du060334 2014-08-22 20:23关注
The easiest way to integrate email into your app is with Sendgrid from our Oenshift Marketplace here: https://marketplace.openshift.com/apps/9628?1665146903&restoreSearch=true#!overview. For reference, here are the extensions available in the php cartridge as of today:
$ php -m [PHP Modules] apc bcmath bz2 calendar Core ctype curl date dom ereg exif fileinfo filter ftp gd gettext gmp hash iconv imagick intl json ldap libxml mbstring mcrypt memcache mhash mongo mysql mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_pgsql pdo_sqlite pgsql Phar posix readline Reflection session shmop SimpleXML soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl zip zlib
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥100 求数学坐标画圆以及直线的算法
- ¥100 c语言,请帮蒟蒻写一个题的范例作参考
- ¥15 名为“Product”的列已属于此 DataTable
- ¥15 安卓adb backup备份应用数据失败
- ¥15 eclipse运行项目时遇到的问题
- ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
- ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
- ¥15 自己瞎改改,结果现在又运行不了了
- ¥15 链式存储应该如何解决
- ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站