hi everyone I tried in the forum but I did not find anything or what I found is in English and I tried even without success, I would need someone who would kindly explain how to configure the email to opencart locally, now I'll explain, I'm trying to make changes and when I try for example the contact form of course does not get the email anywhere, I tried sendamail and mercury but I can not create an email locally to do some tests, currently I do not have a hosting yet, so I was wondering someone could explain to me kindly step by step how to configure an email to use only in localhost that arrives to my free email or that works with thunderbird? thank you
Simply use SMTP.
Edit the ..xampp/php/php.ini for this and add there your data in the SMTP section.
Add your email address to sendmail_from =
If you want to check your outgoing emails, enable also the mail.log a few lines below.
And enable sendmail_path if not already done.
That's it.
Edit the ..xampp/php/php.ini for this and add there your data in the SMTP section.
Add your email address to sendmail_from =
If you want to check your outgoing emails, enable also the mail.log a few lines below.
And enable sendmail_path if not already done.
That's it.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I thank you for the answer in php.ini I put it this way
[mail function]
SMTP=mail.my email
smtp_port=50
sendmail_from =my email
sendmail_path = "\"C:\xampp\xamp2\sendmail\sendmail.exe\" -t"
I can not find mail.log
is that good for you?
[mail function]
SMTP=mail.my email
smtp_port=50
sendmail_from =my email
sendmail_path = "\"C:\xampp\xamp2\sendmail\sendmail.exe\" -t"
I can not find mail.log
is that good for you?
Inside php.ini like this - all in section [mail function]:
Basic:
Email address:
Mailprogram (save to disk):
And log:
Inside OpenCart > System > Setting >> Email :: your SMTP settings
Use/adjust the params above according to your SMTP-Server.
You did not write which XAMPP version you are using, but these settings are the same since a few years ..
IBut - if you are using XAMPP not with Windows, you have to search for the correct settings.
Basic:
Code: Select all
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP=localhost
; http://php.net/smtp-port
smtp_port=25
Code: Select all
sendmail_from = mail@somemail.net
Code: Select all
sendmail_path = "D:\server\xampp\mailtodisk\mailtodisk.exe"
Code: Select all
mail.log = "D:\server\xampp\php\logs\php_mail.log"
Use/adjust the params above according to your SMTP-Server.
You did not write which XAMPP version you are using, but these settings are the same since a few years ..
IBut - if you are using XAMPP not with Windows, you have to search for the correct settings.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Or don't worry about this part until it's on a web server which should allow you to use mail().
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
A bit late to the party but if everyone's interested there this little program that receives the mail sent to localhost.
Papercut SMTP: https://github.com/ChangemakerStudios/Papercut-SMTP
Simply run the program and have it listen to port 25 or whatever you have set it to in XAMPP.
Then, whenever an email is sent Papercut will see it and a notification will pop up.
Papercut SMTP: https://github.com/ChangemakerStudios/Papercut-SMTP
Simply run the program and have it listen to port 25 or whatever you have set it to in XAMPP.
Then, whenever an email is sent Papercut will see it and a notification will pop up.
Who is online
Users browsing this forum: siptec and 348 guests