What is my issue :
I would like to handle every emailing procedure in wordpress through gmail or any other working smtp
What have I done so far ?
I am given to understand that there are many plugins that can do it for you and they perfectly work with any contact form I have created inside my box , yet they do not handle any request upon new registration or even new comments , so basically , they do not have full functionality as I have installed nearly every free and trial version.
What research and applications have I done so far ?
Just like any other avid php learner I have looked up every available topic and source for the answer , and I realized it is possible to edit class-phpmailer.php
What edits did I do in the php mailer and what was the end result ?
elements edited are :
public $From = ‘mymail@gmail.com’;
public $FromName = ‘me’;
public $Mailer = ‘smtp’;
public $UseSendmailOptions = false;
public $Host = ‘smtp.gmail.com’;
public $Port = 465;
public $SMTPSecure = ‘ssl’;
public $Username = ‘mylogin’;
public $Password = ‘mypassword’;
with ZERO result ahead as I have received , the error ” invalid address(setFORM) ”
meaning that the mail server does not work upon registration and surely does not work on new comments
What am I looking for ?
I want a tutorial or any suggestion or guidance that eventually leads me to using an external smtp into handling every single mail request in wordpress
Thanks,