|
|
Shopping Software
Training - Email Notifications from Store |
 |
| |
|
How can I generate a unique Message-ID of the form, plus an
X-Mailer in email, so it will go through the webhosting ISP
spam control?
The following work around will generate a unique Message-ID
of the form, plus an X-Mailer in email, so it will go through
the webhosting ISP spam control.
Message-ID will be shown as the following:
Message-ID: <001159268155.192Z168Z1Z254A1159264890B4376@host.domain.co.uk>
where:-
- 001159268155 is number of seconds since system base time
- 192Z168Z1Z254A1159264890B4376 is the cart id
- host.domain.co.uk is the host server address
Solution:
Edit Actinic.pm
search for 'sub sendrichmail'
search for 'print date header' you should see a series of unless
statements. Immediateley before...
unless (print MYSOCKET "Date: $sNow\r\n")
insert the following...
#
# Construct the Message-ID
# Date + Time + session ID @ host
#
my $sHost = $::Session->GetBaseUrl(); # Get the base href
$sHost =~ s/.*?:\/\/(.*?)\/.*/$1/i; # Get the host address from
the base href e.g. host.domain.com
my $sMesageId = sprintf("%012d.%s@%s", $now, $::Session->GetSessionID(),
$sHost);
unless (print MYSOCKET "Message-ID: <$sMesageId>\r\n")
{
$sLocalError = GetPhrase(-1, 18, 5, $!);
close MYSOCKET;
return($::FAILURE, $sLocalError, 0, 0);
}
unless (print MYSOCKET "X-Mailer: Actinic 8\r\n")
{
$sLocalError = GetPhrase(-1, 18, 5, $!);
close MYSOCKET;
return($::FAILURE, $sLocalError, 0, 0);
}
Save and exit
Update site
Actinic is not able to provide any detailed support for script
changes made. If you find that there is a problem, an original
copy of the script can be found within the 'Original' folder
in your installation. Copy this into your site folder, replace
the script you have changed and upload to you site. If you have
a test facility, we strongly recommend that you test any changes
before you upload them to your live site.
|
|
How can I remove the component quantities from the customer's
emailed receipt?
To do this you will need to edit one of the perl scripts.
- Locate the file OrderScript.pl in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for $pComponent->{'QUANTITY'}
- Comment out the line by inserting the character # at the start
of the line so that it now reads…
# $pComponent->{'QUANTITY'}
- Save and exit.
- Update the site.
Actinic is not able to provide any detailed support for script
changes made. If you find that there is a problem, an original
copy of the script can be found within the 'Original' folder
in your installation. Copy this into your site folder.
|
|
How do I add my customers' purchase order number into the email
they are sent?
This section will show you how to place your customers' purchase
order number into the email they are sent.
Open 'OrderScript.pl' within your site folder in Notepad.
Find the line:
$ACTINIC::B2B->SetXML('CUSTOMER_NAME',$sName);
You will find this in the sub 'GenerateCustomerMail' function.
Once you have found this line, add the following code underneath:
$ACTINIC::B2B->SetXML('PURCHASEORDERNUMBER', $::g_PaymentInfo{'PONO'});
Once you have made this change, you will be able to use the
tag
<Actinic:PURCHASEORDERNUMBER/> in the 'Customer Email'
layout. |
|
Why
do my customer's and I not always receive emails from Actinic
when my payments from the PSP are being authorised
This is because
customers are not clicking the 'proceed' button on the PSP payment
confirmation page. The emails are sent by Actinic when the receipt
page is displayed.
You should contact your PSP to see if the confirmation page
can be customised to show the importance of returning to the
merchant website so that the merchant receipt can be displayed.
You want to consider putting a message into your site that customers
would see. For example a scrolling marquee in Design | Text:
Phase -1 ID: 152
<MARQUEE bgcolor="white" loop="-1" scrollamount="2" width="100%">Put
your text here</MARQUEE>
|
|
The
emails from my online store are not being sent correctly for
my resistered customers. They are always sent to the email address
for the buyer, even though I allow people to override this.
Open 'OrderScript.pl'
in your 'Site1' folder with Notepad.
Locate the line
push(@aRecipients, $$pBuyer{EmailAddress});
This is within the 'DisplayReceiptPhase' function. Add a '#'
at the beginning of the line to make it read:
# push(@aRecipients, $$pBuyer{EmailAddress});
Underneath this line, add the following:
push(@aRecipients, $::g_BillContact{EMAIL});
Actinic is not able to provide any detailed support for script
changes made. If you find that there is a problem, an original
copy of the script can be found within the 'Original' folder
in your installation. Copy this into your site folder.
|
|
My
customer receipt emails from the website are only sent intermittently.
I think this is because my ISP requires SMTP Authentication.
Is there any way I can get Actinic to work with this kind of
SMTP Server?
Enter the username and password required for the SMTP server
in ' Web | Network Setup'.
|
|
My
web host uses a thing called 'sendmail' to control email. Can
Actinic work with this?
Any SMTP server (such as sendmail) should work by default with
Actinic. Actinic scripts communicate with the server on the
standard SMTP port (like any other application).
One issue might be the denied relaying. But this is not a problem
if the ISP and the mail provider is the same. |
|
My
date format for required date is in American format. How do
I rectify this?
This is due to your PCs setup. Change the setup within Control
Panel - Regional Options, so it is set to British. |
|
How
does Actinic Email work?
Actinic's use of email is very basic, it simply presents a text
message to Port25 of the SMTP server and expects the mail software
to take it from there. There is no error recovery or notification.
Also be aware that the email address used must be recognised
by the SMTP server. Actinic uses the address specified in 'Settings
| Business Settings | Company/Contact' as the sending address
as well as the receiving address, e.g. if the site is www.yoursite.com
then address@yoursite.com should be OK, but if you use an address
like address@anothersite.com, this may not be accepted.
|
|
How do I amend the email that the customer receives when an order is placed?
On the Design tab use the drop down against 'Select Page Type' to select the appropriate email layout. You will now be able to edit the layout code. Click on 'Apply' to preview the changes.
|
|
When a customer receives a confirmation e-mail, it always has the name in twice.Obviously this is being picked up from the customer account, and issomething to do with there being an account name of, for example "John Smith" and also a buyer of the same name. ============================== Order Date: 2001/07/16 12:03 Ship To: John Smith John Smith 15 Somename Road ==============================
The "name" field in the "account" tab and the "name" field in the "buyer" tab are apparently the same. If you want to remove one of them, you will need to edit the files 'Administrator Email' and 'Buyer Email' using the 'Select Page Type' drop down on the Design Tab and remove in both files either or . It is recommended that you remove the .
|
|
|
| Top |
|
|