Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 25, 2012, 11:06:25 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155498
Posts in
21710
Topics by
7736
Members
Latest Member:
deenangle
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
Pages: [
1
]
2
Go Down
Author
Topic: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG (Read 5256 times)
Spritemarkiv
AddOn Development
Offline
Posts: 113
Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
on:
April 23, 2009, 03:05:48 PM »
Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
New Features
• Add an attachment
• Send Email in HTML Format
• Use Tiny_MCE editor to write the email.
• Include pictures from your media section.
• Can be installed over existing massmail without deleting the database tables or pages.
• Can also be installed clean(without previous Mass Mail installed).
Requirements
• Tiny_MCE must be installed (does not have to be set as your default editor)
• STMP Mail Connection( check in Admin =>Settings)
• WB 2.8 & WB 2.7 (not tested on anything else)
• WB 2.7 must update phpmail to get this to work.
How to update your phpmail
Download the zip file attached that works with your php version(PHP4Mailer_v2.0.4.z
ip=PHP4 , PHPMailer_v5.0.0.zi
p = PHP5)
Unpack the file
Replace the files in include/phpmailer with the files.
This is my first contribution back to the Website baker community. I have been learning PHP for about 18 months and just getting to know java script. WB has been a great platform to learn on. This was an upgrade I needed for the websites I run, and I thought I would share it with you. I am not sure if I did all the open source community requirements correctly. If you have any suggestions, comments or need help, please let me know.
Update: I had some bounce messages in v1.0. problem fixed. New version 1.1
Update: v1.1 is having problems working with the old phpmailer version that ships with WB2.7. Please wait for next version, or help me fix it.
Update: New Version 1.2, New Requirement You must update phpmail (see above) to get this to work.
«
Last Edit: August 19, 2009, 08:04:05 AM by Spritemarkiv
»
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #1 on:
April 24, 2009, 09:18:52 PM »
HI!
I am getting this error when trying to send:
Mailer Error: Language string failed to load: connect_host
Sorry!! The User Mails could not be sent.
I know my "settings" for SMTP are correct, anything you can suggest?
tugboat
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #2 on:
April 24, 2009, 09:57:36 PM »
Did you have the original Mass mail installed? If you did could you send with it using the same SMPT settings?
If you change the error reporting setting to E_ALL you will get more info.
«
Last Edit: April 24, 2009, 10:01:23 PM by Spritemarkiv
»
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #3 on:
April 24, 2009, 10:04:05 PM »
I had it installed, but never used it until I found this combo. It was originally defaulted with the PHP settings. Shall I uninstall massmail and use this version??
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #4 on:
April 25, 2009, 07:48:41 AM »
The wording of the error message is written funny. It come from the phpmailer. It means that it is having trouble connecting to your SMTP. Have you been able to receive email using these setting before? Like from a sign-up form, or contact us form. I tried your setting on my test server and got the same error. My setting work. You might try checking the SMTP Authentification box and entering your user name and password.
There should be no need to uninstall and reinstall.
Let me know how it goes.
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #5 on:
April 25, 2009, 05:42:10 PM »
Nope, not working still, but I am checking with the host for info.
here are my new settings... (attached)
thanks!
tugboat
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #6 on:
April 25, 2009, 09:32:34 PM »
OK, I have it working, but it is not sending to the bcc's???
thx
tugboat
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #7 on:
April 26, 2009, 09:14:38 AM »
What did you do to get it working? Was it Settings or changes in the code?
re: BCC not sent
Is it throwing a error? Are you getting Bounced messages?
If you are sending multiple emails to yourself (i.e. to:
me@gmail.com
CC:
me@gmail.com
BCC: me
1
@gmail.com and me
1
@gmail.com forwards to
me@gmail.com
). You will get only one email in the inbox at
me@gmail.com
. I think they merge them to keep traffic down.
One test you could do is:
In massmail/save.php line106 you will see
Code:
$MassMail->AddBcc($bccaddress);
Change it to
Code:
$MassMail->AddCC($bccaddress);
The emails will now be sent out as CC instead of BCC and you will be able to see the list of email addresses in the header of the sent email. I recommend only doing this as a test otherwise everyone on the mailing list will see everyone else's email address.
Update:
I found this in the documents from PHPMailer
Code:
$mail->addBCC($BCC); //Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32.
I think this might be your problem. I am looking into a solution.
«
Last Edit: April 28, 2009, 01:12:02 PM by Spritemarkiv
»
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #8 on:
April 29, 2009, 10:58:28 AM »
Hi Tugboat,
I found the problem. The version of phpmailer that shipped/ships with WB 2.7 is way out of date. In fact it is only a RC. If you update the phpmailer as described above it should work.
Part of the confusion was with my testing. I was seeing the emails I was sending out but it was only because they were being forwarded. My bad
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #9 on:
May 07, 2009, 04:37:42 PM »
I still do not have this working... here is how I have it after your explanation:
//loop through all the bccs backup
$bcc= explode(',',$emails);
foreach($bcc as $bccaddress){
$MassMail->AddCC($bccaddress); //Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32.
$mail->addBCC($BCC); //Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32.
}
This right or wrong???
tugboat
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #10 on:
May 07, 2009, 05:17:28 PM »
OK, I just saw your note about the phpmailer thing, I copied over the files from your zip. I still get nothing... here is what I currently have:
//loop through all the bccs backup
$bcc= explode(',',$emails);
foreach($bcc as $bccaddress){
$MassMail->AddCC($bccaddress); //Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32.
}
thanks in advance
tugboat
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #11 on:
May 08, 2009, 08:42:04 PM »
Code:
//loop through all the bccs backup
$bcc= explode(',',$emails);
foreach($bcc as $bccaddress){
$MassMail->AddBcc($bccaddress); //Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32.
}
This code works with the upgraded phpmailer. I have this working now on two websites and have sent Bcc that have were confirmed by the recipients.
So, now to get this working for you.
When you try to send an email:
Do receive an email? To:
sender@example.com
Do you get any errors?
Do you get a mail sent successfully message?
Does the message get saved in the database?
How do you know the BCC didn't arrive?
You can also change include/phpmailer/class.phpmailer.php line 230 to
Code:
public $SMTPDebug =true;
This will give you some more info.
I'll admit I am not an expert in this, and got this working for my sites through lots of playing around, and trial and error( heavy on the error)
. I hope I can also get it working for you.
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #12 on:
May 08, 2009, 08:56:53 PM »
after doing what you have in your last post I have these messages, ending with "Mail Send With Success". And I am receiving the email to the admin account, but still no BCC to my user address... Also, attached are my "Settings"
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220-sls013.qcp.hosting.com ESMTP Exim 4.69 #1 Fri, 08 May 2009 15:51:37 -0400 "
SMTP -> get_lines(): $data is "220-sls013.qcp.hosting.com ESMTP Exim 4.69 #1 Fri, 08 May 2009 15:51:37 -0400 "
SMTP -> get_lines(): $data was "220-sls013.qcp.hosting.com ESMTP Exim 4.69 #1 Fri, 08 May 2009 15:51:37 -0400 "
SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, "
SMTP -> get_lines(): $data is "220-sls013.qcp.hosting.com ESMTP Exim 4.69 #1 Fri, 08 May 2009 15:51:37 -0400 220-We do not authorize the use of this system to transport unsolicited, "
SMTP -> get_lines(): $data was "220-sls013.qcp.hosting.com ESMTP Exim 4.69 #1 Fri, 08 May 2009 15:51:37 -0400 220-We do not authorize the use of this system to transport unsolicited, "
SMTP -> get_lines(): $str is "220 and/or bulk e-mail. "
SMTP -> get_lines(): $data is "220-sls013.qcp.hosting.com ESMTP Exim 4.69 #1 Fri, 08 May 2009 15:51:37 -0400 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. "
SMTP -> FROM SERVER:220-sls013.qcp.hosting.com ESMTP Exim 4.69 #1 Fri, 08 May 2009 15:51:37 -0400 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] "
SMTP -> get_lines(): $data is "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] "
SMTP -> get_lines(): $data was "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] "
SMTP -> get_lines(): $str is "250-SIZE 52428800 "
SMTP -> get_lines(): $data is "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 "
SMTP -> get_lines(): $data was "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 "
SMTP -> get_lines(): $str is "250-PIPELINING "
SMTP -> get_lines(): $data is "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING "
SMTP -> get_lines(): $data was "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING "
SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $data is "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $data was "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $str is "250-STARTTLS "
SMTP -> get_lines(): $data is "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS "
SMTP -> get_lines(): $data was "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS "
SMTP -> get_lines(): $str is "250 HELP "
SMTP -> get_lines(): $data is "250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP "
SMTP -> FROM SERVER: 250-sls013.qcp.hosting.com Hello localhost [127.0.0.1] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 OK "
SMTP -> get_lines(): $data is "250 OK "
SMTP -> FROM SERVER:250 OK
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Accepted "
SMTP -> get_lines(): $data is "250 Accepted "
SMTP -> FROM SERVER:250 Accepted
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Accepted "
SMTP -> get_lines(): $data is "250 Accepted "
SMTP -> FROM SERVER:250 Accepted
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Accepted "
SMTP -> get_lines(): $data is "250 Accepted "
SMTP -> FROM SERVER:250 Accepted
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "354 Enter message, ending with "." on a line by itself "
SMTP -> get_lines(): $data is "354 Enter message, ending with "." on a line by itself "
SMTP -> FROM SERVER:354 Enter message, ending with "." on a line by itself
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 OK id=1M2W6b-0004pJ-O6 "
SMTP -> get_lines(): $data is "250 OK id=1M2W6b-0004pJ-O6 "
SMTP -> FROM SERVER:250 OK id=1M2W6b-0004pJ-O6
Mail Send with success
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #13 on:
May 08, 2009, 09:09:59 PM »
Quote
SMTP -> FROM SERVER:220-sls013.qcp.hosting.com ESMTP Exim 4.69 #1 Fri, 08 May 2009 15:51:37 -0400 220-We do not authorize the use of this system to transport unsolicited, 220 and/or
bulk e-mail.
I think this is the problem. I don't think you host likes it.
That's my first guess. I'll give it a think, and see if I can come up with something.
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #14 on:
May 11, 2009, 02:43:28 PM »
Here is what the host responded to from those errors:
We couldnt find any information about this searching google. We also looked at cpanel and dont see any settings that we can adjust. Cpanel and the shared hosting enviroment is pretty locked down especially for mail to prevent spammers from using the systems. Sorry we couldnt help with this one.
Humm, were you able to think it through??
tugboat
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #15 on:
May 11, 2009, 05:52:48 PM »
OK, the BCC is now working, it is just going into SPAM box, what tricks or things can I do to prevent this?? or will this be different on each machine the message is sent to?
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #16 on:
May 12, 2009, 06:49:43 AM »
Congratulations!
You are right about the Spam Box, each machine will be different.
Logged
tugboat
Offline
Posts: 39
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #17 on:
May 27, 2009, 09:50:45 PM »
OK, I am successful in sending out mail to BCCs now, but the /media/files are not being read... only when I send to all users. When I send to just administrator group, it sends perfectly, whatta ya think??
tugboat
Logged
Hans
Offline
Posts: 565
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #18 on:
May 27, 2009, 10:29:50 PM »
Hi Spritemarkiv
thanks for this module, it works great!
Do you know by chance how much mails one send in one "stream"? In think some providers don't allow unlimited emails send BCC
Is it possible to make it so that one can choose how many mails are send in one stream if the provider doesn't allow to send an very big list of BCC's at once (sorry for my bad English
)
Hans
Logged
Hans - Nijmegen - The Netherlands
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #19 on:
June 01, 2009, 10:17:59 AM »
This should be possible. Perhaps I'll incorporate it into a future version. Thanks for the feedback.
Logged
Bachson
Offline
Posts: 36
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #20 on:
October 25, 2010, 10:29:29 PM »
The tiny mce doesn not apear in oprea 10.63
Any Idea?
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #21 on:
October 26, 2010, 11:11:49 AM »
I will look into it. Thanks for letting me know, I am not a regular Opera user and would not have notices it. TinyMCE does work on the wysiwyg pages so there must be a solution.
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #22 on:
November 04, 2010, 04:32:44 PM »
I got the Opera problem fixed. You can download the latest version 3.4.3 at
http://www.websitebakers.com/pages/modules/interaction/massmail-w-tiny.php
Logged
lausianne
WebsiteBaker Org e.V.
Offline
Posts: 155
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #23 on:
August 16, 2011, 11:50:50 AM »
Hi,
with WB2.8.2, I get this error in the backend:
Code:
Notice: Undefined index: in C:\www\...\modules\massmail\modify.php on line 332
(Massmail 3.4.3, just installed)
I'd be grateful for a fix or a suggestion. Thanks!
Cheers, Ralf.
edit: There's no TinyMCE showing up and mails cannot be sent. So I assume, Massmail 3.4.3 is not compatible with WB2.8.2? It does not appear in the list of installed modules either ... (although I can create pages with it).
«
Last Edit: August 16, 2011, 12:06:19 PM by lausianne
»
Logged
Spritemarkiv
AddOn Development
Offline
Posts: 113
Re: Mass Mail Upgrade with Attachments and Tiny_MCE WYSIWYG
«
Reply #24 on:
August 16, 2011, 12:20:23 PM »
I haven't tested it with WB 2.8.2 yet. I'll have a look. Thanks for the feed back.
Logged
Pages: [
1
]
2
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...