Web Hosting Forum | Lunarpages

Author Topic: How to set auto email reply from a website located on Lunarpages  (Read 14600 times)

Offline beijinglisa

  • Newbie
  • *
  • Posts: 1
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.

katrina1

  • Guest
Re: How to set auto email reply from a website located on Lunarpages
« 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.

Offline connect0123

  • Newbie
  • *
  • Posts: 1
Re: How to set auto email reply from a website located on Lunarpages
« Reply #2 on: April 28, 2011, 03:00:38 AM »
Thanks for Your Nice Posting.
I will learn it and use it further.

MarianO

  • Guest
Re: How to set auto email reply from a website located on Lunarpages
« 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

Offline nakibfdc

  • Newbie
  • *
  • Posts: 1
Re: How to set auto email reply from a website located on Lunarpages
« 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 »

Offline Jacobdixon

  • Pong! (the videogame) Master
  • *****
  • Posts: 25
Re: How to set auto email reply from a website located on Lunarpages
« 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

 

Share |