php mail vs smtp

More
4 years 10 months ago #79632 by waitz
It seems that we have some troubles with our emails from LS being caught in hotmail's spam.

I currently use php as email method in the global settings, and I send out max 20 emails per day via LS.

What is actually best to use - php or smtp?

Version 1.91+ Build 11232 | PHP 5.3.9 | MySQL 5.1.56 |

Please Log in to join the conversation.

More
4 years 10 months ago #79648 by DenisChenu
php or smtp are the same.

You need a good smtp server, there are somes rules for SMTP server.

Like:
- Reverse DNS matches SMTP Banner
- Supports TLS
- Not an open relay.
- Not in blacklist part
- Use spf for DNS
etc ....

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 10 months ago #79661 by waitz
Thanks. I'll take a look at our host, I wonder if they actually were black listed at some point...

Version 1.91+ Build 11232 | PHP 5.3.9 | MySQL 5.1.56 |

Please Log in to join the conversation.

More
4 years 10 months ago #79685 by DenisChenu
And some advice for mail content:

Don't use capital in title or in message.
Don't use 'Urgent' in title or at start of the message
Put long sentence with a lot of explanation.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 10 months ago #79687 by waitz

DenisChenu wrote: Don't use capital in title or in message.

Good points, and what do you mean: 'Capital Like this', or 'CAPITAL LIKE THIS'?

Version 1.91+ Build 11232 | PHP 5.3.9 | MySQL 5.1.56 |

Please Log in to join the conversation.

More
4 years 10 months ago #79688 by DenisChenu

waitz wrote:

DenisChenu wrote: Don't use capital in title or in message.

Good points, and what do you mean: 'Capital Like this', or 'CAPITAL LIKE THIS'?

URGENT : VERY, very bad.

Paris is a French city : OK ;)

PARIS IS A FRENCH CITY : very bad.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 10 months ago #79689 by waitz
Yeah, I understand and agree :) As a person with a little bit of spelling dignity, I rarely use caps lock button ;)

Version 1.91+ Build 11232 | PHP 5.3.9 | MySQL 5.1.56 |

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #79996 by waitz
If I change to smtp in global settings, do I need to add anything in the config file?

I see in config-defaults that there are some smtp parameters - so do I transfer them to config.php or not?

Version 1.91+ Build 11232 | PHP 5.3.9 | MySQL 5.1.56 |
Last Edit: 4 years 10 months ago by waitz.

Please Log in to join the conversation.

More
4 years 10 months ago #80009 by DenisChenu

waitz wrote: If I change to smtp in global settings, do I need to add anything in the config file?

I see in config-defaults that there are some smtp parameters - so do I transfer them to config.php or not?

Yep:

config-default include config.php at end of the script, then n ever change config-default but only config.php.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #80093 by Mazi

waitz wrote: It seems that we have some troubles with our emails from LS being caught in hotmail's spam...

What is actually best to use - php or smtp?

Have a look at this Limesurvey blog post "How to prevent Limesurvey email invitations or reminders being treated as spam"


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
Last Edit: 4 years 10 months ago by Mazi.

Please Log in to join the conversation.