25 Dec, 2024

Install Send Mail Function in nginx Server ubuntu

First of all check send mail function is install in to that server to check that Please execute this command in termianal vds@vps:/etc$ netstat -ntpl You Found result like this (No info could be read for “-p”: geteuid()=1000 but you should be root.)Active Internet connections (only servers)Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program […]

Share your Love
1 min read

Send Mail in php

Description bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )   Using mail() to send a simple email:  <?php// The message$message = “Line 1rnLine 2rnLine 3”;// In case any of our lines are larger than 70 characters, we should use wordwrap()$message = wordwrap($message, 70, “rn”);// Sendmail(‘caffeinated@example.com’, ‘My Subject’, $message);?>

Share your Love
1 min read

How To Reset Your Password

First, open up phpMyAdmin. Click on your database name for Magento from the sidebar on the left. Click on the SQL tab and type the following in to the text box:   UPDATE `admin_user` SET `password` = MD5(‘123456’) WHERE `username` = ‘admin’;  

Share your Love
1 min read

How to install OpenERP 6.1 on Ubuntu 10.04 LTS

Step 1. Build your server sudo apt-get install openssh-server denyhosts Now make sure you are running all the latest patches by doing an update: sudo apt-get updatesudo apt-get dist-upgrade Now we’re ready to start the OpenERP install. Step 2. Create the OpenERP user that will own and run the application sudo adduser –system –home=/opt/openerp –group […]

Share your Love
4 mins read