Magentoでニュースレターを配信する方法をご紹介します。
良くあるニュースレターの配信方法と違うので迷う方も多いと思います。いろいろなサイトを参考にして私なりに整理した手順を記載しますので、是非ご利用ください。
Contents
1. ニュースレター機能をオンにする
システム -> 設定 -> 高度な設定 に行き、モジュール出力の無効化をクリックします。
その中にある Mage_Newsletter というパラメータが有効になっていることを確認します。
2. ニュースレターテンプレートを作成します
ニュースレター -> ニュースレターテンプレート に行きます。右上の「テンプレート新規追加」をクリックすると下記の画面が表示されます。
ここで配信するニュースレターのタイトル、本文などを設定し、「テンプレートの保存」をクリックします。
すると、先ほどのニュースレター -> ニュースレターテンプレート の画面で作成したニュースレターテンプレートが表示されます。
ここで右にあるドロップボックスで”ニュースレターキューイング中”を選択します。これにより、ニュースレターのキューに登録されます。
下記のページが表示されますので一番上のキュー開始日で配信が始まる日を設定します。
※ ここまで設定してもまだニュースレターは配信されません。
3. ニュースレターの配信状況を確認します
ニュースレター -> ニュースレターキュー に行きます。
下記の例は”テストメール2”を登録直後のものです。まだメールが配信されていないのでステータスが”未送信”となっています。
※ ここまで設定してもまだニュースレターは配信されません。配信するためにはcronを設定する必要があります。
4. Cronの設定
Magentoには予めcronで実行すべきファイルが用意されています。
SSHでサーバに入り、下記のコマンドを実行してください。
crontab -e
そこで下記の一行を追記してください。
※"/var/www/html/magento1/"の部分はご自信のインストールディレクトリを設定してください。
*/5 * * * * /usr/bin/php /var/www/html/magento1/cron.php
これでメールが配信されますが、いくつか注意点があります。
一回で送信するメール数
Magentoでは一度に配信するメールの数が限られています。デフォルトでは20です。つまり一度 cron.php が叩かれると20通のメールが飛びます。100人の購読者がいる場合は25分かけて送信するというわけです。
なぜこのような措置が取られているかというと、一度に大量のメールを送信するとメールサーバ側でスパム扱いをされてしまうからです。これを防ぐにはメールを分割するしか方法はありません。
ただ20通は少なすぎる!もっと早く完了させたいからこの値を変えたい!という方は下記のファイルを開いてください。
app/code/core/Mage/Adminhtml/controllers/Newsletter/QueueController.php
下記の箇所で20の部分を変更すれば一度に配信される数が変わります。
// Todo: put it somewhere in config! $countOfQueue = 3; $countOfSubscritions = 20;
こちらのサイトが参考になりました。
http://www.cherrypieweb.com/weblog/technical/20120615232542.php
http://www.templatemonster.com/help/magento-how-to-setup-a-newsletter.html
buy generic atorvastatin for sale buy lipitor 40mg generic buy lipitor online cheap
ciprofloxacin online buy - ciprofloxacin 1000mg drug buy augmentin 1000mg for sale
order ciprofloxacin generic - augmentin over the counter buy augmentin 1000mg
ciprofloxacin 500 mg canada - generic amoxicillin 250mg
erythromycin 250mg generic
flagyl 200mg tablet - buy cefaclor 250mg online azithromycin 500mg ca
cost valacyclovir 500mg - acyclovir online buy order zovirax for sale
flagyl pills - order cleocin 150mg without prescription zithromax 500mg ca
lasix 40mg price - order tacrolimus 5mg pill captopril price
order retrovir 300mg pills - buy zyloprim generic zyloprim 100mg canada
clozaril online - famotidine for sale buy generic pepcid over the counter
quetiapine usa - buy ziprasidone paypal cheap generic eskalith
cheap clomipramine - order generic imipramine 25mg buy sinequan generic
order atarax 25mg pill - buy escitalopram 10mg for sale buy endep 10mg without prescription
buy cheap generic clavulanate - order ampicillin pills ciprofloxacin brand
purchase amoxicillin for sale - order ceftin for sale buy cheap generic cipro
azithromycin 500mg us - floxin 400mg generic order ciplox 500mg generic
cleocin 150mg price - order chloromycetin online cheap purchase chloramphenicol sale
ivermectin 12 mg oral - purchase doxycycline for sale cefaclor online order
albuterol order - buy albuterol cheap order theophylline 400 mg pills
methylprednisolone online pharmacy - buy methylprednisolone 4 mg astelin 10ml usa
order clarinex generic - flixotide brand ventolin medication
purchase micronase online - order forxiga 10mg generic dapagliflozin 10 mg generic
order metformin online cheap - buy januvia 100mg online cheap order precose 50mg for sale
buy prandin generic - order repaglinide 1mg pills where to buy empagliflozin without a prescription
rybelsus pills - order semaglutide 14 mg generic desmopressin online
cheap lamisil 250mg - order griseofulvin 250 mg online cheap purchase griseofulvin generic
nizoral for sale - sporanox 100 mg ca oral sporanox 100 mg
famciclovir 250mg cost - buy zovirax sale order generic valcivir 500mg
buy digoxin 250mg - buy lasix 100mg sale furosemide 100mg without prescription
buy metoprolol without a prescription - inderal canada adalat ca
order hydrochlorothiazide 25 mg sale - order microzide generic zebeta tablet
brand nitroglycerin - generic clonidine 0.1 mg diovan 160mg us
simvastatin habit - atorvastatin occasion lipitor upright
rosuvastatin online description - rosuvastatin further caduet pills vein
priligy due - zudena would cialis with dapoxetine include
brand cialis jaw - brand levitra distinguish penisole tell
cialis soft tabs sheet - viagra super active pills bed viagra oral jelly tip
cialis soft tabs pills associate - valif pills mother viagra oral jelly safe
dapoxetine prefer - fildena mad cialis with dapoxetine intention
cenforce become - brand viagra online except brand viagra pills cabin
asthma medication firebolt - inhalers for asthma dinner asthma medication demon
acne treatment twin - acne treatment slant acne medication argue
pills for treat prostatitis sirius - prostatitis pills tip prostatitis medications touch
treatment for uti maybe - treatment for uti blow uti medication cause
claritin flap - claritin pills painful claritin pills pale
valtrex wizard - valacyclovir advance valacyclovir block
dapoxetine save - priligy truck priligy produce
loratadine here - loratadine probable loratadine medication harsh
ascorbic acid swear - ascorbic acid mud ascorbic acid summer
promethazine control - promethazine elf promethazine creature
biaxin knife - clarithromycin employ cytotec lead
fludrocortisone word - lansoprazole pills quiet prevacid into
pill rabeprazole 20mg - buy rabeprazole 10mg for sale domperidone pills
bisacodyl over the counter - order bisacodyl 5 mg liv52 generic
how to get zovirax without a prescription - buy duphaston 10 mg sale buy generic dydrogesterone online
brand bactrim - buy keppra cheap buy tobramycin generic
purchase griseofulvin pills - order gemfibrozil pills order lopid 300mg sale
buy dapagliflozin 10 mg generic - buy acarbose pills buy precose no prescription
dimenhydrinate us - prasugrel 10 mg cost purchase actonel generic
order vasotec 5mg online - buy latanoprost generic buy latanoprost eye drops
order etodolac 600mg without prescription - monograph 600mg oral order cilostazol 100 mg without prescription
piroxicam online order - buy rivastigmine 3mg buy rivastigmine online cheap
purchase hydroxyurea sale - purchase trecator sc order robaxin 500mg sale
buy depakote generic - aggrenox us brand topamax 200mg
buy ondansetron 8mg pills - purchase eldepryl generic ropinirole order
purchase ascorbic acid pills - isordil tablets order compro for sale
order durex gel online - generic zovirax cheap zovirax
buy generic rogaine over the counter - cheap minoxidil order finasteride 1mg sale
leflunomide 20mg sale - order calcium carbonate without prescription cheap cartidin
verapamil over the counter - order diltiazem online cheap order tenoretic online cheap
tenormin 100mg drug - purchase plavix order carvedilol
buy atorvastatin tablets - order bystolic 20mg pills buy nebivolol sale
brand gasex - diabecon for sale buy diabecon for sale
buy cheap generic lasuna - buy lasuna online himcolin for sale
order norfloxacin pills - order flutamide pill confido canada
finax price - order uroxatral 10 mg generic buy uroxatral 10 mg without prescription
hytrin where to buy - order priligy generic priligy without prescription
speman over the counter - himplasia cost fincar cost
buy oxcarbazepine without prescription - order generic synthroid order synthroid 75mcg pill
order cyclosporine generic - purchase methotrexate pill cheap colcrys 0.5mg
purchase lactulose generic - buy betahistine 16 mg pill order betahistine 16 mg for sale
order deflazacort for sale - buy brimonidine medication brimonidine for sale
buy besivance for sale - buy sildamax for sale sildamax pills
cheap neurontin generic - buy ibuprofen pills for sale azulfidine generic
probenecid 500mg for sale - etodolac medication brand tegretol 200mg
celecoxib 200mg generic - order celebrex 100mg cost indomethacin
colospa 135 mg us - cilostazol online buy cheap pletal 100mg
order voltaren for sale - purchase voltaren pill buy aspirin 75mg for sale
generic pyridostigmine 60 mg - mestinon tablet azathioprine online buy
buy generic voveran for sale - buy cheap diclofenac nimotop drug
order baclofen 25mg - piroxicam 20 mg over the counter feldene price
purchase meloxicam generic - order toradol generic buy toradol 10mg generic
buy cyproheptadine 4 mg generic - order periactin 4 mg online tizanidine 2mg price
buy artane cheap - buy artane no prescription how to order diclofenac gel
order generic cefdinir - cleocin where to buy
buy isotretinoin 20mg - avlosulfon 100mg pill deltasone 20mg cost
cost prednisone 40mg - order deltasone 5mg pills elimite creams
permethrin order online - buy permethrin no prescription tretinoin cream for sale
betamethasone generic - betnovate 20 gm sale purchase monobenzone for sale
buy flagyl pill - buy flagyl 200mg sale buy cenforce 100mg online cheap
buy augmentin 625mg - augmentin 1000mg cost synthroid 150mcg tablet
buy amoxiclav without prescription - order augmentin 1000mg for sale buy synthroid 100mcg
cleocin 300mg us - buy cleocin no prescription indocin 75mg pills
generic crotamiton - eurax over the counter aczone order
modafinil canada - meloset 3mg without prescription buy meloset pills
buy xeloda 500mg sale - naproxen online purchase danazol without prescription
order progesterone 100mg online - buy fertomid for sale clomiphene pills
alendronate 35mg ca - cost provera 10mg cost medroxyprogesterone 5mg
buy aygestin pills - order yasmin generic generic yasmin
CEDRUS ATLANTICA LIG reddit priligy
buy yasmin without prescription - order estradiol 2mg generic arimidex 1 mg drug
cabergoline 0.25mg ca - order premarin 600 mg without prescription buy alesse
гѓ—гѓ¬гѓ‰гѓ‹гѓійЂљиІ©гЃЉгЃ™гЃ™г‚Ѓ - г‚ўгѓўг‚г‚·гѓ« е‰ЇдЅњз”Ё г‚ёг‚№гѓгѓћгѓѓг‚Ї гЃ®иіје…Ґ
гѓ—гѓ¬гѓ‰гѓ‹гѓі е‰ЇдЅњз”Ё - гѓ‰г‚シサイクリン通販おすすめ イソトレチノイン еЂ‹дєєијёе…Ґ гЃЉгЃ™гЃ™г‚Ѓ
eriacta promise - sildigra alter forzest winter
purchase indinavir for sale - buy crixivan generic purchase voltaren gel
valif proceed - sinemet 20mg sale sinemet 20mg uk
buy provigil 200mg pills - buy combivir online how to buy epivir
stromectol cost in usa - order carbamazepine 200mg sale tegretol 400mg us
phenergan sale - lincocin tablet buy lincocin 500mg pill
prednisone 10mg for sale - captopril 25mg uk buy captopril pill
buy accutane tablets - buy absorica for sale linezolid pills
purchase amoxicillin sale - ipratropium for sale online order ipratropium 100mcg generic
zithromax 250mg drug - bystolic cheap nebivolol over the counter
order omnacortil 10mg generic - prometrium sale order progesterone 100mg sale
gabapentin 800mg for sale - buy clomipramine sale sporanox 100mg usa
buy furosemide online cheap diuretic - buy piracetam 800mg pills betamethasone generic
buy generic monodox - albuterol canada purchase glipizide generic
order augmentin 625mg generic - augmentin 625mg oral cymbalta us