Jump to content

[Solved] Problem In Sending Mail


hrce.tk

Recommended Posts

i tried to use php mail() function in booking page of my add on domain "flexphysiotherapy.in"

 

 

the problem is i can send mail to any mail address exept *@flexphysiotherapy.in

 

i google'd and foud the following solution on yandex support site as i use yandex mail for domain for handling my e-mails for this domain

 

This problem occurs because the server hosting your site also provides email services for your domain. So when you send a message from your site, it doesn't go to the Yandex servers, as per your MX settings, but to the local mail server set up by your hosting provider. To fix this, turn off email services on the hosting provider's side. Then email messages will be sent to our servers.

Alternatively, we recommend that you set up outgoing email through our SMTP server - smtp.yandex.ru, using port 465 with SSL encryption and mandatory authentication on the server. So you'll need to indicate, in the settings, the full address of the mailbox that you'll be using to send.

 

I do not want to use smpt server with mail() as i'm not grate with coding in java so any help to turn off e-mail services would be grate

 

thank you in advance

M H R V K REDDY

Link to comment
Share on other sites

Our server prioritizes delivering mail locally when possible. If mail is sent to a domain hosted here, it never leaves our server by design.

 

I'm not sure if you can change this...Krydos or Byron would know.

Link to comment
Share on other sites

ok thank you for the reply i tried using smtp in my form using pear but i get

 

"Fatal error: Class 'Mail' not found in /home1/hrce/php/Mail/mail.php on line 51"

 

after searching online for the error i foud that

 

"Please make sure that your php.ini's include_path points to the PEAR directory. If you installed PEAR through the console and had PEAR automatically add its path to php.ini, remember that the added include_path will be available after you have restarted your web server."

 

so can you please update my php.ini file

Link to comment
Share on other sites

Last I checked, we didn't support PEAR.

 

I'll escalate this because of your odd mail configuration...as far as I'm aware, you're the only one who's trying to use an external mail server for their domain's email.

Link to comment
Share on other sites

the problem is i can send mail to any mail address exept *@flexphysiotherapy.in

This is because that domain is hosted by us, so emails sent to a domain hosted by us don't need to leave the server.

 

To fix this, turn off email services on the hosting provider's side. Then email messages will be sent to our servers.

If we did this NO ONE on Tommy would be able to send or receive email.
Link to comment
Share on other sites

Ok thanks for the reply @Krydos but i cannot even use the pear mail() to send smpt mail as the problem is

 

"Fatal error: Class 'Mail' not found in /home1/hrce/php/Mail/mail.php on line 51"

after searching online for the error i foud that

"Please make sure that your php.ini's include_path points to the PEAR directory. If you installed PEAR through the console and had PEAR automatically add its path to php.ini, remember that the added include_path will be available after you have restarted your web server."

so can you please update my php.ini file

 

can this problem be solved

 

thanks in advance

Link to comment
Share on other sites

You can't use the pear mail() because we don't support pear. That error is normal.

 

If you really want to use an external mail server, you should download any of the large number of smtp classes available for PHP that implement the protocol via sockets and use that.

 

Is there a reason you can't use our mail service though (you're the only user we have that has done this)?

Link to comment
Share on other sites

Thanks for the reply

 

I use yandex mail as my mail server for the bellow benefits

 

1) I get 1000 free mail adress.

2) For every mail id it get free 10GB yandex disk space and almost other yandex services.

3) unlimited mail storage.

4) no limit in sending mails (correct me if I'm wrong i read in forms that there is a limit of 50 mails per day in heliohost as replayed by @Krydos)

4) I can use custom login page for my mail on my site.

5) less load on web hosting server.

6) mobile app to check mail on mobile.

7) Option to create a registration form and login to it on my own site(of-course i do not use this option)

 

And most important thing is, it is free of cost

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...