Search found 29 matches

Search found 29 matches

Re: What PHP Mailer does OC v3.0.3.8 use?

As a test you could replace the SERVER_NAME with an IP address. In ssystem/library/mail/smtp.php chang. fputs($handle, 'EHLO ' . getenv('SERVER_NAME') . "\r\n"); To. fputs($handle, 'EHLO [' . $_SERVER['SERVER_ADDR'] . "]\r\n"); So I tried your response and $_SERVER['SERVER_ADDR'...

Jump to post
  • Fri May 02, 2025 2:40 pm
  • Replies 22
  • Views 10277
Re: What PHP Mailer does OC v3.0.3.8 use?

As a test you could replace the SERVER_NAME with an IP address. In ssystem/library/mail/smtp.php chang. fputs($handle, 'EHLO ' . getenv('SERVER_NAME') . "\r\n"); To. fputs($handle, 'EHLO [' . $_SERVER['SERVER_ADDR'] . "]\r\n"); So I tried your response and $_SERVER['SERVER_ADDR'...

Jump to post
  • Thu May 01, 2025 4:32 am
  • Replies 22
  • Views 10277
Re: What PHP Mailer does OC v3.0.3.8 use?

I also checked what my SERVER_NAME is, and it's mydomain.com Unfortunately I'm not able to check what SERVER_NAME is on my mail server. The mail server won't have SERVER_NAME as that's just for web servers. It will just be the mail server configuration. Have you asked whoever hosts you mail server?...

Jump to post
  • Wed Apr 16, 2025 2:10 pm
  • Replies 22
  • Views 10277
Re: What PHP Mailer does OC v3.0.3.8 use?

As already pointed out, it could be an issue with your SERVER_NAME server setting, so check that first. Could be an issue with the reverse DNS lookup of your domain. Could be a issue in that your mail server is set as being your domain, so is rejection a remote connection from something claiming to...

Jump to post
  • Tue Apr 15, 2025 2:46 pm
  • Replies 22
  • Views 10277
Re: What PHP Mailer does OC v3.0.3.8 use?

I did a bit more research and now I see PHP Mailer is if you don't already have a mail server. False! Why? PHPMailer has nothing todo with your mailserver. You're mixing apples with pears. And - as already said! - OpenCart use it's own mail class, you don't need any other (like PHPMailer). Better t...

Jump to post
  • Mon Apr 14, 2025 2:41 pm
  • Replies 22
  • Views 10277
Re: What PHP Mailer does OC v3.0.3.8 use?

Sorry about the new thread, I wasn't getting any help there. I have the same issue still ( Original Thread ). I have a VPS and then also a separate mail server at the same host (I moved from Shared Hosting). They say my SMTP details are correct and that OC is the problem with sending emails, on the...

Jump to post
  • Mon Apr 14, 2025 2:37 pm
  • Replies 22
  • Views 10277
Re: What PHP Mailer does OC v3.0.3.8 use?

Which MTA are you running on your VPS? Are you using Postfix, Exim, or something more custom? Also, what distro are you deploying it on — Debian-based, RHEL, or something minimal like Alpine? Curious how you've structured your mail stack — especially around security (SPF, DKIM, DMARC), spam filteri...

Jump to post
  • Mon Apr 14, 2025 2:31 pm
  • Replies 22
  • Views 10277
Re: What PHP Mailer does OC v3.0.3.8 use?

Sorry about the new thread, I wasn't getting any help there. I have the same issue still ( Original Thread ). I have a VPS and then also a separate mail server at the same host (I moved from Shared Hosting). They say my SMTP details are correct and that OC is the problem with sending emails, on the ...

Jump to post
  • Fri Apr 11, 2025 5:15 pm
  • Replies 22
  • Views 10277
What PHP Mailer does OC v3.0.3.8 use?

I can't seem to find what mailer OC uses? I've been having issues with OC sending emails with my VPS and email server.

From what I've read online, I should use PHPMailer(). I'm not sure how to test/modify OC to use PHPMailer.

Does anyone know how I can do this?

Jump to post
  • Fri Apr 11, 2025 2:39 pm
  • Replies 22
  • Views 10277
Re: OC V3 PHP7.4 SMTP Issues: Error: EHLO not accepted from server!

you could change this code: throw new \Exception('Error: EHLO not accepted from server!'); in system/library/mail/smtp.php to: throw new \Exception('Error: EHLO not accepted from server'."\n".'['.$reply.']'); so you get some more info as to what is returned from the EHLO command, if anyth...

Jump to post
  • Tue Apr 08, 2025 3:50 am
  • Replies 4
  • Views 1270
Re: OC V3 PHP7.4 SMTP Issues: Error: EHLO not accepted from server!

Your SMTP settings are incorrect. You need to check the details again. I did confirm with them multiple times if the details they gave me are correct, and they said it is. I'm so lost and now my business is not operational until this issue is resolved. Is there any way I can disable all email sendi...

Jump to post
  • Tue Apr 08, 2025 12:08 am
  • Replies 4
  • Views 1270
OC V3 PHP7.4 SMTP Issues: Error: EHLO not accepted from server!

Hi, I migrated my OC V3 installation as is from my previous shared hosting (using cPanel) to a Ubuntu VPS using php7.4, the site is running good except for the email sending from php. I'm getting this error in the logs: PHP Fatal error: Uncaught Exception: Error: EHLO not accepted from server! My se...

Jump to post
  • Mon Apr 07, 2025 7:26 pm
  • Replies 4
  • Views 1270
Re: Moving from Shared hosting to Ubuntu VPS

I managed to fix the issue, my config.php was missing a / for my storage directory.

Jump to post
  • Mon Apr 07, 2025 5:49 am
  • Replies 4
  • Views 1006
Re: Moving from Shared hosting to Ubuntu VPS

One of your issues is that you are not using the PHP version you think you are. "Creation of dynamic property Request" errors only happen in PHP 8.2 and above. Your were 100% correct, but now I'm getting a issue with cache: Apache Logs: PHP Fatal error: Uncaught Error: Class 'Twig\\Loader...

Jump to post
  • Mon Apr 07, 2025 4:45 am
  • Replies 4
  • Views 1006
Moving from Shared hosting to Ubuntu VPS

Hi, I'm moving my OC installation from shared linux hosting package to a Ubuntu VPS that I have configured myself. I'm using php7.4. I am really struggling to get OC to work again because of this error: index.php error: Unknown: Creation of dynamic property Request::$request is deprecated in /var/ww...

Jump to post
  • Mon Apr 07, 2025 12:54 am
  • Replies 4
  • Views 1006
Re: Product Options from Products

If there are no additional benefits from purchasing those products together like discounts or free shipping, things like that, I see no reason for doing it that way, you can just as well use the related products facility to indicate that these ink products are good with that printer and the custome...

Jump to post
  • Mon Feb 03, 2025 4:13 pm
  • Replies 9
  • Views 986
Re: Product Options from Products

All you need to do is create a product for each of your options as you would for any other product. This will allow them to be purchased separately like the normal product they are. Assuming a product has already been created for the 3D printer.....create an option in admin > catalog > options Crea...

Jump to post
  • Mon Feb 03, 2025 4:10 pm
  • Replies 9
  • Views 986
Product Options from Products

Hi all, I'm asking if there is a extension that exists where a product option comes from an existing product? For example I have the following products: #1: Creality 3D Printer #2: Creality Black Filament 1kg #3: Creality Blue Filament 1kg #4: Generic Black Filament 1kg #5: Generic Blue Filament 1kg...

Jump to post
  • Sun Feb 02, 2025 3:02 am
  • Replies 9
  • Views 986
Re: Hide Selected Category & Products SEO Friendly

2: Structure: Main Category -> Sub-Category -> Sub-Sub-Category -> Products In this case I would like to hide the Sub-Sub-Category and all it's child categories and product Doesn't make sense, please explain what you are trying to accomplish. Essentially what I'm looking to accomplish is hiding all...

Jump to post
  • Thu Feb 01, 2024 10:15 pm
  • Replies 2
  • Views 1244

Search found 29 matches