[OJS 2.x] If anyone succedded in sending emails using SMTP, please share codes (minus passwords)

I’ve been trying everything, but I can’t seem to send emails using SMTP. The PHP Mail() is not a realistic alternative, because it heavily triggers spam filter in my country.

So I’m down to my last hope: If anyone succedded in sending emails using SMTP, can you please share the [email] section (minus the login info, needless to say)?

I’ll just copy the whole section and supply it with my own login info.

1 Like

I am using postfix on ubuntu for sending emails through ojs3. Ojs2.x has similar mechanism. It is worth to be note that my provider blocks port 25 for preventing spam. So I configured to use port 465 to send emails from server. Also for receiving emails I use my gmail adress. All output goes through gmail to. So it is there headache to filter spam. If you want to have full email server, you need additionally install dovecot, for example, and interface, like squirrel. It is no need to change something in ojs to make it work.
You can look here for example [HOW]OCS mail settings with GMAIL smtp server

Still looking for these?