Topic: sending email for new event or for reminder event issue

Hi Roel,

As the Brueder Grimm Schule calender is finding its way to frequent usage by several teachers, I have noticed that at present, sending e-mails for new or reminder events does not function yet.

However, I think I have entered the correct date under the SMPT section in the settings-page.

But when I try to send out a test-email, I get the following message:

Warning: fsockopen(): unable to connect to ssl://w019ad9f.kassserver.com:465 (Connection timed out) in /www/htdocs/w019ad9f/bruedergrimmschule.de/linski_cal/common/messaging.php on line 279.

I have tried port 25 for SMTP, as well as 587 for SMTP and also tried port 465 for SMTPS.
The result is always a similar message like above …

Any suggestions how to solve?

Re: sending email for new event or for reminder event issue

Hi Roel,

- any suggestions how this could be solved?
- Thanks in advance!

Best regards, Lucas

Re: sending email for new event or for reminder event issue

Hi Lucas,

It's very hard to say what could be wrong when sending emails via SMTP, in particular from a distance. When you are not sending many emails, it could be easier to use PHP mails, but I'm sure you know this already.
In the LuxCal distribution there is a file toolbox.zip which contains a folder smtpmail with a utility smtptest.php; this utility can be uploaded to the calendar folder and started via your browser to test and experiment with SMTP mail. Have you already tried this? (This utility uses the mail settings from the calendar's Settings page.

Regards,
Roel

Re: sending email for new event or for reminder event issue

Hi Roel,

Thanks for attending me on the SMTP-test script in the toolbox-directory.

For now I am able to send reminders for new or changed events via PHPmail.
Trying to get that done via SMTP, I will dive into a bit later.

So I found out that via PHPmail, I do can send reminders for new or changed events:
-- to an individual email,
-- or to several emails, by separating them with a ;

However sending email reminders to emails that are in a list.txt file that is stored in the reciplists-directory, unfortunately does not work …
Any suggestions how this could be solved?

Regards, Lucas.

Re: sending email for new event or for reminder event issue

Hi Lucas,

When the list content is correct (each email address on a separate line and valid email addresses) the list.txt should work as well.
However, it depends on the number of email addresses in the list. Most (I think all) ISPs have put some restrictions on sending emails via PHP. because they don't want PHP (their server) to be used for sending spam mails.
So could it be that you are sending too any emails at a time and that your provider is blocking this?

Roel

Re: sending email for new event or for reminder event issue

Hi Roel,

I know that the number of email-addresses might be an issue.
So I deliberately started with only 4 email-addresses in the list.txt file.

Then I went to 2 email-addresses in the list.txt file,
and finally I ended with only 1 email-address in the list.txt file.

However none of them did the trick.

Re: sending email for new event or for reminder event issue

Hi Lucas,

Just ran a couple of tests with our test calendars and email lists seem to work fine.

Could you confirm the following:
1. Your email list file is called for example "elist.txt"
2. and is present in the calendar's "recipients" folder
3. and the contents looks as follows:

  john@gmail.com
  mary@yahoo.com
  bill.wood@live.eu

4. and the recipients list looks as follows:

  Joanne.crane@gmail.com;[elist];charly.brown@snoopy.com

so the elist file name within square brackets and separated by semicolons from the other email addresses.

Roel

Re: sending email for new event or for reminder event issue

Hi Roel,

I just learned from your answer that I have to put my list between brackets: [].
I didn't find that key instruction in the help-file wink
Nevertheless, thanks a lot !!!

Now it works flawlessly.
Regards, Lucas