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 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> < 7.2/PHP 7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

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 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> < 7.2/PHP 7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

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 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> < 7.2/PHP 7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote


Sorry, only registered users may post in this forum.