I'm having an issue with sending an order e-mail from Drupal (Ubercart).

I actually don't think the issue is in Drupal, because the e-mail is sent correctly to my e-mail address, but it doesn't arrive to the company e-mail address.

What I've done so far to understand what's th issue:

  • I received an e-mail from Drupal on my address (so drupal + server can send e-mails.. everything works)
  • I've sent an e-mail to the company address (It works)
  • I removed the spam filter on the other e-mail address (Nospam filter disabled).
  • I'm waiting the end of the day, hoping in a server lag.. but I don't think so because I did point 2 and it arrived immediately...

any tip ? Thanks

Update: Server logs:

2010-07-27 17:48:02 1OdmNu-0005fT-As <= o110334@hostingservice.com U=o110334 P=local S=25369 T="New order" for companyaddress@company.com
2010-07-27 17:48:02 1OdmNu-0005fY-Da <= o110334@hostingservice.com U=o110334 P=local S=1050 T="New Order" for companyaddress@company.com
2010-07-27 17:51:28 1OdmRE-0006fr-NQ <= o110334@hostingservice.com U=o110334 P=local S=25377 T="New order" for companyaddress@company.com
2010-07-27 17:51:28 1OdmRE-0006fv-OJ <= o110334@hostingservice.com U=o110334 P=local S=1052 T="New Order" for companyaddress@company.com
2010-07-27 18:04:15 1Odmdb-0002C9-63 <= o110334@hostingservice.com U=o110334 P=local S=822 T="New order" for myaddress@gmail.com
有帮助吗?

解决方案

If some email is getting through, it is probably not a drupal or php problem. Check your mail server logs.

其他提示

Don't sweat it too much. This is pretty normal on a new server, especially if the company have a filter somewhere. These kind of things usually work themselves out on a day or two if it's actually working, which seems to be the case.

These questions will help troubleshoot the problem....

Is the email hosted on different server as website and carries same domain name as website?

Is Drupal able to send email to company email?

Looks to me email is not leaving the server (DNS issue).

***Add MX DNS Record on Webserver pointing to company Mail Server.

You might want to take at look at this Atwood post:

So You'd Like to Send Some Email (Through Code)

A brief summary:

  1. Make sure the computer sending the email has a Reverse PTR record
  2. Configure DomainKeys Identified Mail in your DNS and code
  3. Set up a SenderID record in your DNS
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top