PacketFence - BTS - PacketFence
View Issue Details
0001300PacketFenceweb adminpublic2011-10-05 13:102012-06-14 12:48
fgaudreault 
fgaudreault 
lowtweakunable to reproduce
closedno change required 
3.0.1 
 
0001300: Guest manager not sending code by email
When creating a guest account using the manager, and tryed to send that code using email, we got this :

[Wed Oct 05 11:56:35 2011] [error] [Wed Oct 5 11:56:35 2011] -e: SMTP mail() command failed: \n[Wed Oct 5 11:56:35 2011] -e: \n
No tags attached.
Issue History
2011-10-05 13:10fgaudreaultNew Issue
2011-10-05 14:31dwuelfrathNote Added: 0002315
2011-10-06 10:49obilodeauNote Added: 0002325
2011-10-06 10:49obilodeauReproducibilityrandom => unable to reproduce
2011-10-13 09:27fgaudreaultNote Added: 0002341
2011-10-13 09:27fgaudreaultStatusnew => resolved
2011-10-13 09:27fgaudreaultResolutionopen => no change required
2011-10-13 09:27fgaudreaultAssigned To => fgaudreault
2012-06-14 12:48obilodeauStatusresolved => closed

Notes
(0002315)
dwuelfrath   
2011-10-05 14:31   
Unable to reproduce using different characters in email addresses.
Everything went fine on my side (PacketFence 3.0.1)
(0002325)
obilodeau   
2011-10-06 10:49   
Can you provide more steps to reproduce?

From what log file did you took the error? This is not logs/packetfence.log's format.
Was there a special character expanded in shell in the email address?
-e is perl's eval flag.. why would mail eval'ed something?

As a work-around, setting an smtpserver= under [alerting] can probably fix it.
(0002341)
fgaudreault   
2011-10-13 09:27   
It was a problem on the client's side (MTA config).