Hi, I am having a problem with shop script which I have installed on my site. This script requires editing of the php.ini file in order to send emails for order notification to customers and admin, but my hosting provider does not allow this. I need to get a work around solution or an alternative way to get the order mails to send. I am willing to pay anybody who can get this done for me. I have been told I can use PHP mailer. Thanks for your help. Regards, John!
I don't really know much about php, how would I use ini_set() to override those settings? (premium) These are the settings that need to be changed but my host does not allow this, they have suggested I use phpmailer which I have no idea how to do. On Windows systems mail goes through SMTP server. You must specify correct SMTP settings in your php.ini file.: [mail function] SMTP = server address (e.g. smtp.myprovider.com) smtp_port = SMTP server port number (e.g. 25)
Thank you for the help, but I have no experience in php so my problem is which script do I put that code into? I am sorry if I soumd like an idiot!!
You should put it in the script which actually sends the mail. If you have no clue, just put it in the config file (something like config.php probably).
Thanks again for your help, but I cannot find any config.php file, the only file I can find similar to that is config_file.class. I don't know if this is the right file though. I also have a file called class.smtp.php I don't know if this is the file that is used to send the orders.
try putting it in class.smtp.php like this: <?php ini_set("smtp","mail.yourdomain.com"); ini_set("smtp_port","25"); class { ... ?> See if it works
I tried that but it did not work. I also tried a file called function.mailto.php but that didn't work either Any other ideas, or would you be interested in looking at it for me?