Jump to content

contac form & order confirmation không hoạt động


Recommended Posts

order confirmation
sau khi đặt hàng xong thi im ru no không gui đươc mail cho khách hàng tôi đã cấu đã chon Mail funtion()
và SMTP nhưng ko cái nào hoạt động hết

contac form
củng không gui dc luôn đã cấu hình trong (Quản trị >> Nhân viên >> Liên hệ)

anh chị nào làm được xin chỉ giúp với!


buysellvn-trading.com.vn

Share this post


Link to post
Share on other sites
  • 3 years later...

neu ban dung SMTP thi lien he voi Hébergement cua ban de biet thong tin cau hinh SMTP, binh thuong thi ho se cung cap domainSMTP + ID + PASS + port

neu ban dung Mailphp() thi phai cau hinh lai nhu sau

  • / Tools / swift / Swift / Plugin / MailSend.php
  • / Tools / swift / Swift / Message.php
  • / Tools / swift / Swift.php

 

/ Tools / swift / Swift / plugin / MailSend.php (autour de la ligne 158)

 

Ancien:

$ headers = $ headers-> build ();

 

Nouveau:

$ headers = $ headers-> build ();

$ params = "";

 

/ tools / swift / Swift / Message.php (autour de la ligne 79)

 

Ancien:

$ this-> setFrom ("");

 

Nouveau:

$ this-> setFrom ("yourmail @ votredomaine"); (yourmail@yourdomain.com - Remplacer par votre email id)

 

/ tools / swift / Swift.php (autour de la ligne 370)

 

Ancien:

if (($ has_reply_to = $ message-> getReplyTo (!))) $ message-> setReplyTo (dollars);

 

Nouveau:

if (! ($ has_reply_to = $ message-> getReplyTo ())) $ message-> setReplyTo (dollars);

if ($ has_reply_to [0]) $ message-> setReplyTo ($ from-> getAddress (!));

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More