Web based family history software

This Help forum is for issues relates to the latest release (1.6.x). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.

Question PHP mail or SMTP not working

More
9 years 1 month ago #81 by bukbr
Replied by bukbr on topic PHP mail or SMTP not working

ToyGuy wrote: Request submitted, Stephen


OK, it's done.

Thanks.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago - 9 years 1 month ago #82 by Jackie
Replied by Jackie on topic PHP mail or SMTP not working
Hello Stephen,

I would be interested in knowing what you did to fix Daniel's issue. That could be useful to others. Would you mind to post here the solution?
Last edit: 9 years 1 month ago by Jackie.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #83 by KosherJava
Replied by KosherJava on topic PHP mail or SMTP not working
All I can say is that I have not had email working for me for over 6 months. It used to work and suddenly stopped, and would appreciate any input. See this other thread.
www.webtrees.net/index.php/en/forum/3-he...s/29573-email-issues

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago - 9 years 1 month ago #84 by bukbr
Replied by bukbr on topic PHP mail or SMTP not working
Yes, it seems to be an issue after a previous update... I don't know which one.

For me too, it was working fine and suddenly stoped.

Regards.
Last edit: 9 years 1 month ago by bukbr.

Please Log in or Create an account to join the conversation.

  • ToyGuy
  • Offline
  • Moderator
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
More
9 years 1 month ago #85 by ToyGuy
Replied by ToyGuy on topic PHP mail or SMTP not working
Well, I may have misset the configuration or GMAIL was suspicious of the attempt, but it got all the way there for examination:

Hi Stephen,

Someone recently used your password to try to sign in to your Google Account XXXXXXXX@gmail.com. This person was using an application such as an email client or mobile device.

We prevented the sign-in attempt in case this was a hijacker trying to access your account. Please review the details of the sign-in attempt:


So, i reset the email to use my personal mail server and received the internal mail message I sent.

The following message has been sent to your webtrees user account from Stephen Arnold

test

The answer is - the mail is working when properly configured. You must have something set incorrectly.

Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #86 by KosherJava
Replied by KosherJava on topic PHP mail or SMTP not working
I actually spent some time on this tonight, and email works for a logged in user (if I send myself a message when logged in it gets through), but if I send a message as a non-logged in user the message doesn't get through to me, though a copy does get through to the sender. It may be that sending myself a message gets through since it does sent it to the sender, and in this case the sender and reciever are the same. I do see the message in the home page messages block when sent by a non-logged in user.
I am using PHPMail, and I would expect that it would work the same either way.

One area that seemed confusing to me was the, the "Sender name". As per my host it has to be an email address and not a name. I am not sure if this is always the case or not, but it is enforced by my host. The descriptive text "This name is used in the “From” field, when sending automatic emails from this server." did not make this clear. My host claims that this was always in effect, so I am not sure when/how I changed the setting about 6 months ago.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #87 by KosherJava
Replied by KosherJava on topic PHP mail or SMTP not working
All is well ends well. The change of the "Sender name" to the email address fixed the issue. The email that did not arrive ended up in the spam bucket, so I guess that my issue is resolved now.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago - 9 years 1 month ago #88 by bukbr
Replied by bukbr on topic PHP mail or SMTP not working
Well, better so... :-)

I'll wait Stephen's tests... "the hope is the last to die".

Thanks.
Last edit: 9 years 1 month ago by bukbr.

Please Log in or Create an account to join the conversation.

  • ToyGuy
  • Offline
  • Moderator
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
More
9 years 1 month ago #89 by ToyGuy
Replied by ToyGuy on topic PHP mail or SMTP not working
Test results posted on #86. webtrees and your site work as expected (both PHP-Mail and SMTP) when properly configured.

Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #90 by bukbr
Replied by bukbr on topic PHP mail or SMTP not working
Hallelujah it worked. Thanks for all that helped. Solved case.

SHARING: after #86

On PHPmail worked well so:

- Administration ==> Family Trees ==> webtrees reply address: doesn't need to be a valid e-mail
- Administration ==> Site configuration ==> mail configuration ==>
* Use PHP mail to send messages
* Sender name: valid e-mail address
* Sending server name: complete URL where system is installed, example: www.genealogy.com/yourfamily
* Other fields doesn't make effects, in this case, I guess.

I couldn't get it work on SMTP, just on PHP mail, but, doesn't matter, it's working, and I'm happy! :-)

Thanks again Jackie - Greg - Stephen and others!

Regards.

Please Log in or Create an account to join the conversation.

  • mygun2big4u
  • Visitor
  • Visitor
8 years 8 months ago #91 by mygun2big4u
Replied by mygun2big4u on topic PHP mail or SMTP not working
I've tried everything. Still does not send emails. Help

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
8 years 8 months ago #92 by fisharebest
Replied by fisharebest on topic PHP mail or SMTP not working
What version of webtrees?

Are you trying to send mail using your own server (PHP mail) or using another server such as googlemail?

What settings are you using?

Mail is complicated, and with no information, we cannot help.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • mygun2big4u
  • Visitor
  • Visitor
8 years 8 months ago #93 by mygun2big4u
Replied by mygun2big4u on topic PHP mail or SMTP not working
webtrees 1.6.2
I try php and smtp throw gmail but not sending

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
8 years 8 months ago #94 by fisharebest
Replied by fisharebest on topic PHP mail or SMTP not working
Did you enable "allow less secure applications to send mail" in your GMAIL account?

support.google.com/accounts/answer/6010255?hl=en

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • mygun2big4u
  • Visitor
  • Visitor
8 years 8 months ago #95 by mygun2big4u
Replied by mygun2big4u on topic PHP mail or SMTP not working
yes, was and are enabled

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
8 years 8 months ago #96 by fisharebest
Replied by fisharebest on topic PHP mail or SMTP not working
Are there any error messages in the webtrees error log?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • mygun2big4u
  • Visitor
  • Visitor
8 years 8 months ago #97 by mygun2big4u
Replied by mygun2big4u on topic PHP mail or SMTP not working
No, any eror messages

Please Log in or Create an account to join the conversation.

  • mygun2big4u
  • Visitor
  • Visitor
8 years 8 months ago #98 by mygun2big4u
Replied by mygun2big4u on topic PHP mail or SMTP not working
Configuration is
Messages
Use PHP mail to send messages
Sender name mygun2big4u@gmail.com
SMTP mail server
Server name smtp.gmail.com
Port number 587
Use password yes
Username mygun2big4u@gmail.com
Password click to edit
Secure connection tls
Sending server name www.sabaliauskai.lt/webtrees/

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
8 years 8 months ago #99 by fisharebest
Replied by fisharebest on topic PHP mail or SMTP not working
The "sending server name" should be just " www.sabaliauskai.lt "

Do not add the "http://" or the "/webtrees"

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • mygun2big4u
  • Visitor
  • Visitor
8 years 8 months ago #100 by mygun2big4u
Replied by mygun2big4u on topic PHP mail or SMTP not working
in the joomla php and smtp mail sending works perfect, but on webtrees No

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}