58 posts
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
  • Located in Bangladesh
alisiddique says

I got problem in email send. When i use domain email in my php script i got mail but when i use gmail it not send and it show error.

Here is code url : http://pastebin.com/XTCB3mch

In line number 81 : $headers = “From: ali@uparrowconsulting.com” . PHP_EOL;

When i change it to gmail id it show error. What is the solution.

I also try PHPmailer Here is code url : http://pastebin.com/BaDVLxch

Line number 30 : $mail->From = ‘ali@uparw.com’;

Same Problem is here also. If I change it gmail or other ac mail not sending. But if i use domain mail mail sending well.

Need Some Help….......:|

1317 posts The Last Man Standing
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
+7 more
ImanGM says

Hello Ali_siddique,

It’s maybe your SMTP server requires authentication but allows relay for local domains. You should check it with your network administrator or hosting provider.

Cheers, Iman

58 posts
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
  • Located in Bangladesh
alisiddique says

Hi imangm

Please take a look at this code http://pastebin.com/BaDVLxch

I use smtp for sending mail, but same problem

58 posts
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
  • Located in Bangladesh
alisiddique says
1386 posts How's the surf doing?
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
tommusrhodus says

It’s maybe your SMTP server requires authentication but allows relay for local domains. You should check it with your network administrator or hosting provider.

+1 – hosting support will tell you the answer in minutes, since it’s their system causing the block.

by
by
by
by
by
by