[plugin: Mail2List] Send mail to your list via email client

3rd party code for phpList

Re: [plugin: Mail2List] Send mail to your list via email client

Postby joking777 » 4:07pm, Sun 05 Sep, 2010

I have a couple of questions that I could find any information on related to the Mail2List plugin.

Is it possible to use the email subject as a placeholder in the email?
Is it possible to add something to the email to add criteria like can be done through the interface?
Is it possible to schedule the outgoing message?

Thanks
joking777
phpList newbie
 
Posts: 1
Joined: 3:52pm, Sun 05 Sep, 2010

Re: [plugin: Mail2List] Send mail to your list via email client

Postby adriano88 » 6:37pm, Sun 19 Sep, 2010

Code: Select all
    ALTER TABLE `phplist_mail2list_allowsend` CONVERT TO CHARACTER SET  utf8 COLLATE utf8_general_ci
    ALTER TABLE `phplist_mail2list_list` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
    ALTER TABLE `phplist_mail2list_popaccounts` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci



Hi, tried to change in all the 3 mysql tables of mail2list the charset to utf 8 first and then also latin_7_ci

using the same solution in phplist I can send emails from the internal editor with italian characters, however I can't send them via outlook because mail2list somehow doesn't interpret them..


any other ideas?
adriano88
phpList newbie
 
Posts: 1
Joined: 6:33pm, Sun 19 Sep, 2010

Re: [plugin: Mail2List] Send mail to your list via email client

Postby dobby » 6:45am, Tue 12 Oct, 2010

I'm having the same issue as this previous post, where the content is placed inside "textmessage" instead of "message" - resulting in messages where [content] is empty. Did this ever get resolved? Any idea how I can get around this?

using:
v2.10.12 of phplist
v2.0.0b of m2l plugin

update: everything seems to work as expected if the originating email is in html format. The above problem happens when it's plaintext. Is there any way the plugin could detect this and just stuff the plaintext body into "textmessage" and "message"?
dobby
phpList newbie
 
Posts: 1
Joined: 6:38am, Tue 12 Oct, 2010

Re: [plugin: Mail2List] Send mail to your list via email client

Postby delfinocurioso » 2:24pm, Fri 12 Nov, 2010

Hi i've installed and configured the plugin v2.0.0b

but i've two questions:

1_Q- Why i can't forward email to all users of the list even they are in the whitelist??? i got an error such as:

Processed message 1 of 1 with error!

myaddress@address.com could not be found on the whitelist!
He/she will be sent a notification.

No emails where sent to listAddress@list.com.

with "myaddress@address.com" actually in the whitelist and confirmed

2_Q - It's necessary the "process new mails" button to be press EVERY TIME i want to dispatch the mails???
Because i want to share all the message only via mail client, without direct access to admin panel of php
delfinocurioso
phpList newbie
 
Posts: 1
Joined: 2:15pm, Fri 12 Nov, 2010

Re: [plugin: Mail2List] Send mail to your list via email client

Postby steveims » 12:12am, Fri 31 Dec, 2010

2 minor issues with m2l_cron.php:
  • checks for mail on all lists, regardless of the "active" attribute
  • checks all popaccounts, even those previously deleted

Here's a simple edit for m2l_cron.php to check only the POP3 accounts associated with active lists:

Code: Select all
[~/public_html/mlist]# diff m2l_cron.php m2l_cron.php.fcs
39,41c39
<       // SDI:  Check only the active lists.
<         //$sql = Sql_Query("SELECT * FROM ". $GLOBALS['table_prefix']."mail2list_popaccounts");
<       $sql = Sql_Query("SELECT ". $GLOBALS['table_prefix']."mail2list_popaccounts.* FROM ". $GLOBALS['table_prefix']."mail2list_popaccounts, ". $GLOBALS['table_prefix']."list WHERE ".$GLOBALS['table_prefix']."mail2list_popaccounts.listid=".$GLOBALS['table_prefix']."list.id AND ". $GLOBALS['table_prefix']."list.active='1'");
---
>       $sql = Sql_Query("SELECT * FROM ". $GLOBALS['table_prefix']."mail2list_popaccounts");
steveims
phpList newbie
 
Posts: 3
Joined: 1:11am, Tue 25 Sep, 2007

Re: [plugin: Mail2List] Send mail to your list via email client

Postby dubwise259 » 11:12am, Fri 28 Jan, 2011

delfinocurioso wrote:Hi i've installed and configured the plugin v2.0.0b

but i've two questions:

1_Q- Why i can't forward email to all users of the list even they are in the whitelist??? i got an error such as:

Processed message 1 of 1 with error!

myaddress@address.com could not be found on the whitelist!
He/she will be sent a notification.

No emails where sent to listAddress@list.com.

with "myaddress@address.com" actually in the whitelist and confirmed



Hi all,

Same issue for me, I'm using PHPlist 2.10.12.
Any idea on how to solve the problem ?
Regards
dubwise259
PL Nut
 
Posts: 39
Joined: 11:58am, Mon 19 Nov, 2007

Re: [plugin: Mail2List] Send mail to your list via email client

Postby huberle » 11:21am, Thu 03 Mar, 2011

Hi I have an very strange problem. Maybe you have a clue how to fix it.
The problem is, thunderbird somehow always changes the header to text/plain if the email is send by mailtolist. For better understanding.

- If I send a html test mail to the thunderbird account via phpmail everything is correct.
(Content-Type: multipart/related; type="text/html";)

- If mailtolist picks up the mail from a email account and forwards it to the list everything works perfect in yahoo, gmail, gmx,..., even my local osx mail shows the email correct as html (Content-Type: multipart/related; type="text/html";)

Only thunderbird displays the mail as plaintext, the header is somehow changed to Content-Transfer-Encoding: 8bitContent-Type: text/plain; charset="UTF-8"

I can´t find the a cause for that.

Thankful for every hint.

Kind regards,

bert
huberle
phpLister
 
Posts: 5
Joined: 3:23pm, Wed 02 Mar, 2011

Re: [plugin: Mail2List] Send mail to your list via email client

Postby berter » 1:21pm, Fri 11 Mar, 2011

Hi,

the plugin works great, thanks for that.

One Question: in the delivered Emails the subject is always displayed in the first line of the content area.

Do you know how to avoid this?

kind regards,

toni
berter
phpList newbie
 
Posts: 2
Joined: 3:31pm, Thu 10 Mar, 2011

Re: [plugin: Mail2List] Send mail to your list via email cli

Postby rporto » 1:53am, Wed 12 Oct, 2011

akamantauskas wrote:I'm doing something wrong, and I can't figure it out.

When I click on "Process new mails", I get:
Code: Select all
Processing list 'test'
-----------------------------

Status of pop3 connection: Connected


Processed message 1 of 1
No emails where sent to test@linux-test.testdomain.local.


However, the test email I sent was addressed to 'test@linux-test.testdomain.local'.

What am I missing here? And yes, that is the actual hostname and domain of the server :)


I'm facing the same problem with mail2list and couldn't find an answer to that, allover this forum.

I send the message to the list account, click to process new messages in mailtolist, it processes the message, deletes it from the mailbox, bat doesn't send it to the list subscribers. I'm totally baffled.

BTW, when I send a message directly from PHPList interface, it's correctly forwarded to all members of the list.

Any help would be of great help.

Cheers, Ricardo
rporto
phpList newbie
 
Posts: 1
Joined: 1:42am, Wed 12 Oct, 2011

Re: [plugin: Mail2List] Send mail to your list via email cli

Postby vboulytchev » 7:22pm, Sat 29 Oct, 2011

Guys, why am I having such bad luck?

I may be downloading the old version from somewhere?/

To get this plugin to even work, you have to add something in the adminmenu() function

What does everyone's mailtolist.php look like? Mine looks like this from download. Ofcourse it doesnt show in the plugins list unless I modify the code
WTF?

<?php
/**
* EMAIL TO PHPLIST
* This is a plugin for phplist
* Created by SaWey (C) 2007
*
*
* The only thing you have to do is
* Put the files in your plugin directory
* And change the file path and URL to the
* attachments dir in get_email.class.php
* All other config happens in the webgui
*/

class mailtolist extends phplistPlugin {
var $name = "Mail To List";
var $coderoot = "plugins/mailtolist/";

function adminmenu() {
return array(

);
}
}
?>
vboulytchev
phpLister
 
Posts: 7
Joined: 7:11pm, Fri 28 Oct, 2011

Re: [plugin: Mail2List] Send mail to your list via email cli

Postby vboulytchev » 7:28pm, Sat 29 Oct, 2011

acecarwash wrote:I have problem with loading the plugin whitin 2.10.10 ..

What i did
Modified config.php:
define("PLUGIN_ROOTDIR","/xx/xx/xx/xx/lists/admin/plugins");

Modified get_email.class.php
-var $attach_url
-var $file_path

Copyed the plugin to the plugin folder:
--> plugins/mailtolist
- get_email.class.php
- main.php
--> plugins/
- mailtolist.php

In the Admin pannel i only see the two demo plugins:
- Example plugin, dynamic page
- Mozilla Sidebar

What could be the problem with the mail2list plugin?


im hating this plugin as well... its not loading because the mailtolist.php is messed up. look at default plugins and you'll see why its not showing

i am looking for alternatives, this is too shotty
vboulytchev
phpLister
 
Posts: 7
Joined: 7:11pm, Fri 28 Oct, 2011

Re:

Postby vboulytchev » 7:29pm, Sat 29 Oct, 2011

bkeahl wrote:Well, I guess ubuntu doesn't load imap by default :). Now to get the cron jobs going.

I have the same problem! How did you get it fixed?
vboulytchev
phpLister
 
Posts: 7
Joined: 7:11pm, Fri 28 Oct, 2011

Re:

Postby vboulytchev » 8:14pm, Sat 29 Oct, 2011

Linn wrote:I tried

Code: Select all
/pop3:995/notls/ssl/novalidate-cert


And I get:

Code: Select all
Status of pop3 connection: Not connected
Can't connect to #######.de,995: Connection refused


Of cource I checked that username/password are correct (via copy/paste => no misspelling).



Guys, I try all this, but still dont get anything... When I click on process mail, the screen is blank....

Screenshot:

http://dl.dropbox.com/u/32590911/screen ... 7%20PM.png

And, it took me a bit to get mailtolist even showing on the main admin page! There is an error in the mailtolist.php... maybe I am downloading it from a wrong place? :)

Thanks!
vboulytchev
phpLister
 
Posts: 7
Joined: 7:11pm, Fri 28 Oct, 2011

Re: [plugin: Mail2List] Send mail to your list via email cli

Postby guidolavespa2 » 8:51pm, Thu 01 Dec, 2011

Can somebody help?

Mailtolist is not starting my database as should start from the main.php

kr Guido
guidolavespa2
phpList newbie
 
Posts: 2
Joined: 8:37pm, Thu 01 Dec, 2011

Re: [plugin: Mail2List] Send mail to your list via email cli

Postby guidolavespa2 » 12:28pm, Sun 04 Dec, 2011

This problem is solved, was wrong name of directory I made.

But still i can not send email from email client like outlook.
guidolavespa2
phpList newbie
 
Posts: 2
Joined: 8:37pm, Thu 01 Dec, 2011

PreviousNext

Return to Contributions: Plug-ins, Add-ons, Mods

Who is online

Users browsing this forum: No registered users and 2 guests