mtn Posted March 14, 2018 Posted March 14, 2018 While testing the recently installed Comments module, the following error is occurring (while using valid email addresses): Error: Exception: Invalid email address (processwire@localhost:8888) (in . . . /wire/core/WireMail.php line 105) Error: Exception: Invalid email address (processwire@localhost:8888) (in /Users/main/Sites/artisan-skill-revival/wire/core/WireMail.php line 105) #0 /Users/main/Sites/artisan-skill-revival/wire/core/WireMail.php(130): ProcessWire\WireMail->sanitizeEmail('processwire@loc...') #1 /Users/main/Sites/artisan-skill-revival/wire/core/WireMail.php(245): ProcessWire\WireMail->extractEmailAndName('processwire@loc...') #2 /Users/main/Sites/artisan-skill-revival/wire/modules/Fieldtype/FieldtypeComments/CommentNotifications.php(151): ProcessWire\WireMail->from('processwire@loc...') #3 /Users/main/Sites/artisan-skill-revival/wire/core/Wire.php(383): ProcessWire\CommentNotifications->___sendAdminNotificationEmail(Object(ProcessWire\Comment)) #4 /Users/main/Sites/artisan-skill-revival/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___sendAdminNot...', Array) #5 /Users/main/Sites/artisan-skill-revival/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\CommentNotifications), 'sendAdminNotifi... How may this issue be overcome? Thanks!
ethanbeyer Posted March 14, 2018 Posted March 14, 2018 It's definitely possible that you haven't set up a valid from-email address. Check out the WireMailSmtp module, it may help!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now