Changing Coding for Sendmail - Post...

User 2507006 Photo


Registered User
9 posts

Hello

Hope someone can help me here as getting a number of errors as the form is using the wrong code to sendmail and do not know where to change the code.

It seems the files are using '/usr/local/bin/phpsendmail' but need to use /usr/sbin/sendmail

Where do I change this, which file do I go to to edit it?

Any help would be greatly appreciated.

Thank you
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Here's what's on line 144 of the phpmailer.cls.php
public $Sendmail = '/usr/sbin/sendmail';
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2507006 Photo


Registered User
9 posts

Thank you very much Eric, appreciate the help very much, I do see it but why is the form giving me this error:

Your form could not be submitted for the following reason(s):
Warning: [ err 2/line 248/mailer.cls.php] mail() [<a href='function.mail'>function.mail</a>]: Could not execute mail delivery program '/usr/local/bin/phpsendmail'
Warning: [ err 2/line 248/mailer.cls.php] mail() [<a href='function.mail'>function.mail</a>]: Could not execute mail delivery program '/usr/local/bin/phpsendmail'
Failed to send an email to "michael@sluhosting.com".
Failed to send an email to "michael@divefairhelen.com".

Would really like to get this to work.

Thank you again
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Where are you using those email addresses?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2507006 Photo


Registered User
9 posts

Failed to send an email to "michael@sluhosting.com". - This is the email I am testing the form with
Failed to send an email to "michael@divefairhelen.com". - This is the email the form is supposed to submit to
User 103173 Photo


VP of Software Development
0 posts

Please read over http://www.coffeecup.com/help/articles/ … g-reasons/ as that should fix your issue.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2507006 Photo


Registered User
9 posts

Just uploaded using what you provided Scott but still the same.

Maybe you can try it here: http://www.divefairhelen.com/contact_us.htm

Thank you
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

I just tested your form Michael and it worked fine for me.:cool:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2507006 Photo


Registered User
9 posts

Yes I got it Eric,

Thank you but still not working for me, just lost here, not sure if something on my system is causing it but don't think that should be.
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Try testing the form with a different email.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.