i'm trying receive e-mails sended account on sendgrid. have following:
- a sendgrid account linked http://www.rallypodium.be
- a cloudflare account linked http://www.rallypodium.be server ip adress.
- a server on digitalocean.
good, i'm running nginx
on server , want able e-mails send @rallypodium.be
saved , stored inside of database wich on same digitalocean server.
i've set inbound parse this:
host: www.rallypodium.be url: http://www.rallypodium.be/inbound/parse/mail
my domain whitelabled.
i've read docs 10 times , still didn't figure out i'm doing wrong.
this how store them:
public function receivemail(request $request) { db::table('email')->insert([ 'headers' => $request->get('headers'), 'html' => $request->get('html'), 'from' => $request->get('from'), 'to' => $request->get('to'), 'cc' => $request->get('cc'), 'subject' => $request->get('subject'), 'dkim' => $request->get('dkim'), 'spf' => $request->get('spf'), 'envelope' => $request->get('envelope'), 'charsets' => $request->get('charsets'), 'spam_score' => $request->get('spam_score'), 'spam_report' => $request->get('spam_report'), 'attachments' => $request->get('attachments'), 'attachment-info' => $request->get('attachment-info'), 'attachmentx' => $request->get('attachmentx') ]); return 'ok'; }
if take @ activity feed, see this:
the error message following:
email: robin@rallypodium.be
reason: error dialing remote address: dial tcp 104.24.101.114:25: i/o timeout
smtp-id: <1f7f313f27fd051b525581562e6af9b5@rallypodium.be>
processed string: august 1, 2016 - 06:53:45pm
msgid: j1irmehmr_geli7tippxng.filter0810p1mdw1.1861.579f77cc27.0
oh , cloudflare dns: http://prntscr.com/c0bjl8
can me out? thanks!
you trying receive email through cloudflare, unfortunately cloudflare doesn't proxy smtp/email traffic.
instead you'll need add grey-clouded record manage email, allow email routed straight origin without cloudflare blocking it. note grey clouded domains can reveal ip address, therefore recommended have email server on separate server webserver; or better use cloud email provider , emails them.
Comments
Post a Comment