Forum

problem with send m...
 
Notifications
Retirer tout

problem with send mail

13 Posts
6 Utilisateurs
0 Reactions
24.6 {numéro}K Vu
ameur
(@timoumi)
Eminent Member
Inscription: Il y a 13 ans
Posts: 32
Début du sujet   [#1278]

I try to send mail to users with the 3.3.2 and 3.4.0 versions, but ther's no mail sender. I try with private smtp for my society and gmail smtp but no result. please help by example



   
Citation
Klaus
(@climb4fun)
Honorable Member
Inscription: Il y a 16 ans
Posts: 449
 

Hi timoumi,

have a look at manual - global parameters - page 4 and 5. This should help. If not, please don't hesitate to come back to this forum.

Regards,

Klaus



   
RépondreCitation
(@netvienna)
New Member
Inscription: Il y a 12 ans
Posts: 2
 

Hello I struggled with sendmail on Ubuntu and was nearly to give up 🙁

So if you use an external smpt for sending, here is the easy solution.

On Ubuntu sendmail configuration is extremely difficult with an external smtp.
It is much easier with ssmtp.

Install ssmtp and your live is much easier B)

http://www.havetheknowhow.com/Configure-the-server/Install-ssmtp.html



   
RépondreCitation
(@simongrow250)
New Member
Inscription: Il y a 12 ans
Posts: 2
 

Thanks for sharing.. 🙂
Yes, it's true. It is much easier with ssmtp. I already install it 🙂 🙂



   
RépondreCitation
(@huynq8)
Active Member
Inscription: Il y a 12 ans
Posts: 11
 

I using version 3.2.2 and tried but i not run

email of administrator: xxxx@gmail.com
'from' email when sending ...: xxxx@gmail.com
'reply' email when sending ...: xxxx@gmail.com
smtp server: smtp.gmail.com
smpt port: 587
.... (on version 3.2.2 don't have smtp login name or smpt login password)

Someone help me? Many thanks !



   
RépondreCitation
(@babynus)
Membre Admin
Inscription: Il y a 6 ans
Posts: 14952
 

Gmail SMTP server requires authentication.
This functionality has been introduced in V3.4.
So concider upgrading ...



   
RépondreCitation
(@huynq8)
Active Member
Inscription: Il y a 12 ans
Posts: 11
 

I used version 4.4.2 but it not run and alert "Not able send to email '.......'. Contact your administrator". What's the reason?



   
RépondreCitation
(@babynus)
Membre Admin
Inscription: Il y a 6 ans
Posts: 14952
 

Possibly because Gmail SMTP server listens to port 465.
Also, add protocole before smtp server : ssl://smtp.gmail.com
RTFM



   
RépondreCitation
(@huynq8)
Active Member
Inscription: Il y a 12 ans
Posts: 11
 

I also try this but....



   
RépondreCitation
(@babynus)
Membre Admin
Inscription: Il y a 6 ans
Posts: 14952
 

but ?

what error in log file ?



   
RépondreCitation
(@huynq8)
Active Member
Inscription: Il y a 12 ans
Posts: 11
 

2014-10-15 10:05:58 ** ERROR ** Error sending mail
2014-10-15 10:05:58 ** ERROR ** SMTP Server : smtp.gmail.com
2014-10-15 10:05:58 ** ERROR ** SMTP Port : 587
2014-10-15 10:05:58 ** ERROR ** Mail stored in Database : #2
2014-10-15 10:05:58 ** ERROR ** PHPMail error : SMTP connect() failed.
2014-10-15 10:05:58 ** ERROR ** PHPMail debug :
2014-10-15 10:27:05 ** ERROR ** Error sending mail
2014-10-15 10:27:05 ** ERROR ** SMTP Server : ssl://smtp.gmail.com
2014-10-15 10:27:05 ** ERROR ** SMTP Port : 465
2014-10-15 10:27:05 ** ERROR ** Mail stored in Database : #3
2014-10-15 10:27:05 ** ERROR ** PHPMail error : SMTP connect() failed.
2014-10-15 10:27:05 ** ERROR ** PHPMail debug :
2014-10-15 10:33:21 ===== TRACE ===== DISCONNECTED USER 'admin'

Help me plz !



   
RépondreCitation
(@babynus)
Membre Admin
Inscription: Il y a 6 ans
Posts: 14952
 

Hi,

Message is clear : connection fails.
But the error returned by the connect function gives no information (it is what is on the "PHPMail debug :" line.
Now you must find why.
It can be :
- invalid credentials (user / password)
- port 465 blocked by your network

What is sure is that such config should run (I use it on my side for devs).



   
RépondreCitation
(@huynq8)
Active Member
Inscription: Il y a 12 ans
Posts: 11
 

I have another mail using that port,...so that is the reason
And you can show me the way to backup & restore database to disapear error when restore(i want to upgrade from v3.2.2 to new version and backup database before). Tks



   
RépondreCitation
Share:
Retour en haut