XGProyect / XG-Proyect-v3.x.x

XG Proyect is an OGame clone open-source web application framework designed for creating game clones, particularly those inspired by the popular game OGame, set in a vast and captivating space-themed universe.
https://xgproyect.org
GNU General Public License v3.0
148 stars 101 forks source link

Mail feature #422

Closed LucasKovacs closed 3 years ago

LucasKovacs commented 3 years ago
jonamix-ar commented 3 years ago

Smtp es mucho mejor yo configure el smtp editando el archivo email.php de la librería ci y hay me deja en viar MSJ y demas

duhow commented 3 years ago

No me parece adecuado tener una única parte de CodeIgniter para gestionar el mail, además de no estar documentado...

Debería usarse una librería - yo ya sugerí PHPMailer, e incorporar la configuración a XGProyect en el panel de administración o en el archivo config.

LucasKovacs commented 3 years ago

@BeReal86 please give it a try now. You can configure it from the admin panel. @FGServers metele vos tambien a ver que tal te anda. Actualice la libreria de CI, ya que por el momento no pienso usar otra cosa.

@BeReal86 I've used a service called sendgrid.com to setup the SMTP and send. These were my settings:

host: smtp.sendgrid.net user: apikey password: {the one provided by sendgrid} port: 25 timeout: 5 encryption: empty

If you use sendgrid, the email from where you're sending has to be the same set on sendgrid. So basically, your administrator email must match that one on sendgrid.com

jonamix-ar commented 3 years ago

host: smtp.nextweb.com.ar user: no-reply@ogame.nextweb.com.ar password: {the one provided by sendgrid} port: 465 timeout: 5 encryption: ssl

cree un email temporal pero funciona perfecto

image se ve asi

Anuncios y mensajes image

Mensaje desde mi correo.. no se por que me sale spam pero ese debe ser problema de mi proveedor de hosting image

Email de registros a correos de proveedores ejemplo (jonatan@nextweb.com.ar) email

Recuperar clave email enviado image

Recuperar clave email recibido en proveedor de hosting ejemplo (jonatan@nextweb.com.ar) clave recuperada

Quality Works perfect

Después voy a ver si le puedo integrar markItUp! para los textarea para hacer mensajes mas personalizados

BeReal86 commented 3 years ago

@LucasKovacs sending e-mail is making me have a problem. It could probably originate from the hosting company. For Codeintegner it says is there a wound that needs to be done or a component that needs to be activated on the server?

LucasKovacs commented 3 years ago

@BeReal86 there are cases where smtp is not enabled and does not allow to use it. In my hosting that was not possible. So I used sendgrid

@FGServers veo que en el template salen etiquetas {mailing_smtp_host}. Te faltaron los cambios de la DB

BeReal86 commented 3 years ago

@LucasKovacs Yes, maybe. I couldn't understand anyway smtp only works in certain places. I also failed with sendgrid. maybe I made a mistake. But I'm sure it works well. We've provided a lot of testing with jonamix.

https://www.smtper.net/

Tls https://prnt.sc/viun2n

Ssl https://prnt.sc/viumpg

BeReal86 commented 3 years ago

that's why I approve.

jonamix-ar commented 3 years ago

@BeReal86 there are cases where smtp is not enabled and does not allow to use it. In my hosting that was not possible. So I used sendgrid

@FGServers veo que en el template salen etiquetas {mailing_smtp_host}. Te faltaron los cambios de la DB

Hice instalación nueva, pero funciona perfecto