Send email SMTP
Posted by: MegaCoder (77.138.35.---)
Date: October 04, 2017 10:06AM

Hi.
When i used WAMP 2.5 I could send email by using google SMTP server via my gmail account.
After upgrade to WAMP 3.0.6 this function stop working... Even php_smtp extension doesn't help (wamp 2.5 works fine without this extension).

How I can solve the problem?

thanks.

Options: ReplyQuote
Re: Send email SMTP
Posted by: RiggsFolly (Moderator)
Date: October 04, 2017 10:44AM

So are you using phpMailer or something similiar?

As far as I know you cannot send mail from any WAMPServer version without some sort of library assistance!

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Send email SMTP
Posted by: MegaCoder (77.138.35.---)
Date: October 04, 2017 11:01AM

Well... I'm talking about Drupal 6 site.. It has standard drupal_mail() function and SMTP module (sends all email via STMP server). It may have phpMailer library...

But the point is - totally same site, totally same functions, absolutely same code and same libraries it has... After upgrade to WAMP 3.0.6 stop sending email and return error messages that email can't be sent.... That's why I think - there are some changes... in apache or php...settings maybe...



Edited 1 time(s). Last edit at 10/04/2017 11:02AM by MegaCoder.

Options: ReplyQuote
Re: Send email SMTP
Posted by: MegaCoder (77.138.35.---)
Date: October 04, 2017 11:08AM

Yes, as I can see right now SMTP module has phpMailer folder/library in it...

Options: ReplyQuote
Re: Send email SMTP
Posted by: RiggsFolly (Moderator)
Date: October 04, 2017 02:13PM

So, are you using the same version of PHP that you were before?
Are you using a compatible version of PHP for your version of Drupal?

Is there anything useful in the error logs?

This seems like a Drupal issue rather than anything to do with WAMPServer.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Send email SMTP
Posted by: rpjd (37.228.242.---)
Date: October 04, 2017 08:37PM

From what I've read, using PHPmailer class is better than using PHP's mail() function. I using wamp, installed Composer yesterday and used it to install PHPMailer, then using the correct settings, successfully sent a test email to Gmail. Has anyone had any issues sending mail to Yahoo via SMTP, causing me a problem with authentication.

Options: ReplyQuote
Re: Send email SMTP
Posted by: RiggsFolly (Moderator)
Date: October 05, 2017 12:26AM

Turn on DEBUG in phpMailer.

This site is not for issues with anything other than WAMPServer. Try StackOverflow

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.