Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PRIORITY SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 Lasse 31-01-2017 22:03:24

When testing the contact us e-mail function with the test button everything is ok. But when I send a question from the contact us form, only the customer gets a copy of the question, the program dosen`t send me the mail to the specified e-mail adress that I wrote in the general settings. I assume that there must be some bug in the system that only lets one mail go out ( the copy the the one that wrote it ) but the shop owner never gets one.

Last edited by Lasse (09-02-2017 13:24:02)

#2 msworld 02-02-2017 06:58:09

No bugs as far as I can tell. It works fine. Check your spam folder and also make sure there are no server restrictions with outgoing mail.

You should enable the mail debugging option and then check the debug log, this will show you any issues.

#3 Lasse 02-02-2017 07:40:35

David, this is what I got.
My webshops mail is When acting as a customer I wrote the e-mail to another one of my domains  ( ) but it says the mail is rejected becouse the usernames dosen´t match? Of course they dosen`t match, one is the shops mail and the other one is the customers.

When sending a testmail from admin page, the test mail shows up in my webbshop@rpmracing accounts inbox, that part works fine.

And when a customer does a Product Enquiry , eveything is ok. Both the customer and shop owner gets a copy. It´s seems that it´s only when the customer uses the "contac us" form in the footer that the problems occurs. Could it be that you are checking on licensed version and I´m not ? Thought I would get mine by translation it into swedish wink

SERVER -> CLIENT: 554 5.7.1 Recipient address rejected: Username and sender doesnt match
SMTP ERROR: RCPT TO command failed: 554 5.7.1 Recipient address rejected: Username and sender doesnt match
SERVER -> CLIENT: 250 2.0.0 Ok
SMTP Error: The following recipients failed: Recipient address rejected: Username and sender doesnt match
SERVER -> CLIENT: 250 2.1.0 Ok
SERVER -> CLIENT: 250 2.1.5 Ok
SERVER -> CLIENT: 354 End data with <CR><LF>.<CR><LF>

Last edited by Lasse (02-02-2017 08:44:36)

#4 msworld 03-02-2017 02:38:57

Hi Lasse,

There are no mail restrictions in the free version. Maybe it`s an issue with your mail server requiring specific from headers for all emails?

So, I`ve made a change. Follow these instructions and see it it helps.

1. Redownload Maian Cart

2. Replace the following in your installation:


3. Open 'control/defined.php' and find:

define('MAIL_FROM_NAME_HEADER', '');

Set your preferred "from" override headers. Then try again. smile

This forces all emails to have the same "from" headers. At the moment the "from" headers are used from the settings, but for visitor messages, the visitors email/name are set.

Let me know if it works.

#5 Lasse 03-02-2017 07:55:18

I`m sorry David, still the same problem. Recipient address rejected: Username and sender doesnt match
"contac us" in footer only sends copy to user.
"product Enquiry" works fine and sends copy to both user and shop owner.

Ps. I did it like this:


on both lines.

Last edited by Lasse (03-02-2017 08:46:30)

#6 msworld 03-02-2017 10:30:54

I`m not sure. The headers are set the same for both forms.

Do you want to send me FTP info to your store and I`ll take a look.

#7 Lasse 03-02-2017 20:58:16

David, I have sent you an e-mail.
I found this when I reversed the page and looked at the source of the page that shows the product
In the form for "product enquiry" that works the string is

 <label style="padding-top:10px">Email</label > <input type="text" name="que[em]" value="" class="form-control" tabindex="2">

In the "contact us" form in footer the string is

<input type="text" name="msg[em]" value="" class="form-control" placeholder="Your Email">

The only difference I can see is the "que em"  and "ms em" . Could i just change the messenger em to question em and see what happens ? ( ms em  to que em  in the messenger box in footer ) And if so, where do I change it?
It`s not a big deal If I get a question or a message from a customer smile

#8 msworld 04-02-2017 03:00:09

Thanks for the email. smile

The form field names are fine and should not be changed.

#9 Lasse 09-02-2017 13:25:10

Update - David changed the following so now it´s working smile

control/system/home.php (lines 177 & 178)

#10 msworld 09-02-2017 17:42:40

Thanks Lasse. smile

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2019 Maian Script World & David Ian Bennett. is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software