Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
July 26, 2014, 07:14:45 AM

Pages: [1]   Go Down
  Print  
Author Topic: How to set auto email reply from a website located on Lunarpages  (Read 12466 times)
beijinglisa
Newbie
*
Offline Offline

Posts: 1


« on: March 30, 2011, 08:14:15 PM »

Thank you for everyone first.

I need some help for the auto email reply.

I buy the hosting for the website, we are a company which work in the online business, when someone register on our website, the system of our website will sent an auto welcome email to our customer.

The code as following:
$smtpserver = "";
$smtpserverport =25;//SMTP
//$smtpusermail = "";//SMTP
$smtpusermail = "";
$smtpemailto = $toemail;
$smtpuser = "";
$smtppass = "";
$mailsubject = $mailsubject;
//$mailsubject=mb_convert_encoding($mailsubject,"GB2312","utf-8");
$mailbody = $str_mail;
$mailtype = "HTML";

We could not sent and received any email with the website located on lunar. But we could sent and received some email with these code on the hosting which located in China.

Is there anyone who can help us for this question? Thanks very much.
Logged
katrina1
Guest
« Reply #1 on: March 31, 2011, 04:56:59 AM »

If you are on an LPCP server, the email server is on a separate server therefore you must specify the smtpserver and authenticate with the email address and password in your script.
Logged
connect0123
Newbie
*
Offline Offline

Posts: 1


« Reply #2 on: April 28, 2011, 03:00:38 AM »

Thanks for Your Nice Posting.
I will learn it and use it further.
Logged

MarianO
Guest
« Reply #3 on: April 28, 2011, 07:02:39 AM »

Hello,

As Katrina already said, you must use the IP address or the mail.YOURDOMAIN.COM (replace yourdomain.com with your actual domain name) for the mail server which is being used by your server. Instructions regarding this can be found on our wiki or knowledge base articles : http://wiki.lunarpages.com/Sending_E-Mail_From_Scripts_in_LPCP

- Marian
Logged
nakibfdc
Newbie
*
Offline Offline

Posts: 1


« Reply #4 on: September 10, 2011, 04:54:43 AM »

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.
« Last Edit: September 10, 2011, 08:19:18 PM by KrisA » Logged
Jacobdixon
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


« Reply #5 on: November 02, 2011, 03:12:23 AM »

You can ask for some technical help from the experts of these site or with the administrator of the site
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: