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
order semaglutide for sale - how to get periactin without a prescription purchase cyproheptadine pills
buy tizanidine cheap - hydrochlorothiazide 25mg price hydrochlorothiazide 25mg oral
order cialis 40mg pills - buy tadalafil 5mg without prescription viagra pills 100mg
order cenforce 100mg online - oral cenforce 100mg purchase glucophage pills
prilosec 20mg usa - metoprolol 100mg over the counter buy atenolol 50mg generic
methylprednisolone 4mg over the counter - pregabalin 150mg sale purchase aristocort pill
clarinex 5mg for sale - where can i buy dapoxetine order dapoxetine generic
misoprostol oral - diltiazem 180mg cost diltiazem order online
zovirax 400mg pills - brand zovirax 800mg rosuvastatin tablet
domperidone 10mg generic - cyclobenzaprine 15mg pills how to buy flexeril
propranolol pill - order inderal 10mg online methotrexate 10mg usa
buy warfarin online cheap - cozaar 25mg brand purchase losartan generic
order levofloxacin - generic dutasteride buy ranitidine 150mg pills
buy esomeprazole 40mg online - topamax 100mg tablet purchase sumatriptan generic
buy meloxicam 15mg generic - order tamsulosin 0.4mg sale purchase flomax pill
generic zofran - zofran 8mg generic order simvastatin pills
buy modafinil cheap order provigil generic modafinil us modafinil buy online provigil 200mg us buy provigil 100mg without prescription modafinil 100mg ca
can i get generic clomiphene pills cost cheap clomiphene without a prescription order clomiphene without rx where to get cheap clomid without prescription buy cheap clomiphene without dr prescription order generic clomid for sale where buy clomiphene tablets
More content pieces like this would make the web better.
I am in truth delighted to coup d'oeil at this blog posts which consists of tons of useful facts, thanks representing providing such data.
This is the type of post I find helpful.
This is the type of enter I find helpful.
purchase inderal generic - methotrexate 10mg brand buy methotrexate 10mg sale
order inderal 10mg for sale - buy methotrexate 10mg generic buy methotrexate 5mg pills
amoxicillin buy online - order combivent 100mcg pill buy cheap combivent
amoxil online buy - buy generic diovan buy ipratropium 100 mcg sale
azithromycin 500mg cheap - buy azithromycin without a prescription nebivolol uk
where can i buy augmentin - https://atbioinfo.com/ ampicillin order
clavulanate brand - https://atbioinfo.com/ order ampicillin generic
order nexium 20mg - anexa mate buy esomeprazole 20mg sale
nexium 40mg sale - anexa mate esomeprazole 40mg pill
order medex pills - blood thinner cozaar 25mg drug
purchase warfarin - https://coumamide.com/ buy generic cozaar over the counter
meloxicam 7.5mg pill - relieve pain buy meloxicam 7.5mg for sale
mobic 15mg tablet - https://moboxsin.com/ order meloxicam generic
prednisone 40mg ca - corticosteroid prednisone 40mg over the counter
medications for ed - site buy ed pills generic
where can i buy ed pills - best male ed pills buy ed pills no prescription
diflucan generic - on this site order diflucan without prescription
generic forcan - https://gpdifluca.com/# buy fluconazole pills for sale
oral lexapro 20mg - https://escitapro.com/ order escitalopram without prescription
cenforce 100mg drug - brand cenforce brand cenforce
buy generic cenforce 50mg - https://cenforcers.com/ brand cenforce 50mg
no prescription female cialis - tadalafil vs sildenafil cialis manufacturer coupon
how much does cialis cost at walmart - https://ciltadgn.com/ can you drink wine or liquor if you took in tadalafil
cialis leg pain - https://strongtadafl.com/ tadalafil professional review
where can i buy cialis online in canada - tadalafil without a doctor’s prescription buy cialis without prescription
buy generic ranitidine - buy zantac 300mg generic buy zantac tablets
viagra sale new zealand - https://strongvpls.com/# buy viagra delhi
cheap quality viagra - https://strongvpls.com/# viagra buy greece
Thanks recompense sharing. It’s acme quality. prednisone tablets
The depth in this piece is exceptional. online
I couldn’t hold back commenting. Warmly written! https://ursxdol.com/doxycycline-antibiotic/
I couldn’t resist commenting. Well written! https://ursxdol.com/cenforce-100-200-mg-ed/
This is the kind of topic I enjoy reading. https://prohnrg.com/product/metoprolol-25-mg-tablets/
I couldn’t weather commenting. Warmly written! https://prohnrg.com/product/priligy-dapoxetine-pills/
The thoroughness in this draft is noteworthy. click
Thanks on putting this up. It’s okay done. https://ondactone.com/product/domperidone/
More posts like this would prosper the blogosphere more useful. https://ondactone.com/spironolactone/
This is the compassionate of writing I rightly appreciate. http://outlink.net4u.org/?q=https://hackmd.io/@adip/S1nI1FQ_xeenta/geinou/news/20090623spn00m200010000c.html
Facts blog you possess here.. It’s intricate to assign great status article like yours these days. I honestly comprehend individuals like you! Take guardianship!! http://zgyhsj.com/space-uid-977930.html
dapagliflozin over the counter - buy dapagliflozin cheap buy dapagliflozin no prescription
buy xenical generic - order xenical online xenical 120mg for sale
More posts like this would add up to the online elbow-room more useful. http://www.predictive-datascience.com/forum/member.php?action=profile&uid=46040
This is the type of post I find helpful. http://www.haxorware.com/forums/member.php?action=profile&uid=396518