donb
04-10-06, 08:57 PM
In my order confirmation I send an email of the order to the customer. This has been working perfectly for years until the ip address of the server was changed last week. Now we get an error message at the top of the page that looks like this:
/mn/t7_bkorder3.pl: Line 625: MvSMTP: Runtime Error: Error sending
recipient 'customer@yahoo.com': sorry, that domain isn't in my list
of
allowed rcpthosts (#5.7.1)
We do not get this error if we enter an address that has it root on our domain, such as: donb@farm-home.com as the orderer.
The Question! Does the miva smtp send the message as if originating at my domain ( in this case mail.farm-home.com ) or does it try to send it as if the sender is the customers domain? My ISP is trying to tell me that it is being sent as if from the customer domain and not ours.
<MvASSIGN NAME ="mail_it_to" VALUE="{glosub(ordmaster.d.or_email,'~','')}">
<MvASSIGN NAME ="mailfrom" VALUE="{'order@farm-home.com'}">
<MvASSIGN NAME ="mail_bcc" VALUE="{'donb@farm-home.com,service@farm-home.com'}">
<MvSMTP
TO="&[mail_it_to]"
FROM="&[mailfrom]"
CC="&[mail_bcc]"
MAILHOST="198.145.197.6"
SUBJECT="&[mailsubject]">
This is in version 3.93
Thanks
Donb
/mn/t7_bkorder3.pl: Line 625: MvSMTP: Runtime Error: Error sending
recipient 'customer@yahoo.com': sorry, that domain isn't in my list
of
allowed rcpthosts (#5.7.1)
We do not get this error if we enter an address that has it root on our domain, such as: donb@farm-home.com as the orderer.
The Question! Does the miva smtp send the message as if originating at my domain ( in this case mail.farm-home.com ) or does it try to send it as if the sender is the customers domain? My ISP is trying to tell me that it is being sent as if from the customer domain and not ours.
<MvASSIGN NAME ="mail_it_to" VALUE="{glosub(ordmaster.d.or_email,'~','')}">
<MvASSIGN NAME ="mailfrom" VALUE="{'order@farm-home.com'}">
<MvASSIGN NAME ="mail_bcc" VALUE="{'donb@farm-home.com,service@farm-home.com'}">
<MvSMTP
TO="&[mail_it_to]"
FROM="&[mailfrom]"
CC="&[mail_bcc]"
MAILHOST="198.145.197.6"
SUBJECT="&[mailsubject]">
This is in version 3.93
Thanks
Donb