Is there way to enable the mail function without access to php.ini?

The mail function was disable by my hosting provider, and there is no way to enable it because it was shared hosting.

I already search in google how to enable mail function, but got nothing.

I was thinking if it can be enable using htaccess or in ini_set() but i dont know how.

Any help will be appreciated, thank you.

3 Years
Discussion Span
Last Post by almostbob

The mail function was disable by my hosting provider

Am sure all options are disabled. Probably your only option is to use PHPMailer in combination with a Google account for example.


Try this code in php : ini_set('sendmail_from','admin@tutorialsscripts.com')

Edited by pritaeas: Removed unrelated self-promotion link.

Votes + Comments
Jeez don't tell peole to break their terms of use, that is NOT helping

Before you break the EULA of your hosting package, make sure you understand the consequences.
You may, lose your site
You may, be responsible for all ISP costs in rectifying
External handling is a better option
Pritaeas::Moderator:Featured:Sponsor:reputation 1400+:skill endorsement 155:
is a better source of information than
dumbass::Newbie:BANNED:reputation -3:

Edited by almostbob

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.