आप मेल कि rails g mailboxer:views
उपयोगकर्ता के लिए भेजा जाता इस <your rails app>/app
1- notification_mailer - containing template files when a notification is sent to a user
2- message_mailer - containing template files when a message is sent to a user
आप बदल सकते हैं में दो अलग अलग फ़ोल्डरों उत्पन्न होगा के लिए विचारों को उत्पन्न करने की जरूरत है उन टेम्पलेट्स।
एक और बात आप कर सकते हैं कि uncomment//config/initializer/mailboxer.rb
config.notification_mailer = CustomNotificationMailer
config.message_mailer = CustomMessageMailer
में इन पंक्तियों को जोड़ने और दो मेलर्स वर्गों ऊपर बनाने के लिए जो
send_email
इस समारोह के लिए मानकों को निम्नलिखित फ़ंक्शन अवश्य होना चाहिए है और उनके कार्यान्वयन इस लिंक पर दिया गया है। आपको अपना खुद का send_mail फ़ंक्शन लिखने का संकेत मिलेगा।
Notification Mailer Send Email function
Message Mailer Send Email function
स्रोत
2013-09-30 12:01:27
https://github.com/ging/mailboxer#i-need-a-gui –
धन्यवाद, लेकिन यह ईमेल टेम्पलेट के बारे में बात की तरह नहीं दिखता। – MKK
मुझे विश्वास है कि यह वही है जो आप ढूंढ रहे हैं: http://stackoverflow.com/questions/11303303/anyone-can-think-of-any-way-to-customize-email-mailboxer-gems-template-view-o – monika92