Closed (fixed)
Project:
Forward
Version:
6.x-1.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2009 at 18:22 UTC
Updated:
16 Feb 2010 at 22:30 UTC
I was getting an error:
Warning: mail() [function.mail]: SMTP server response: 501 5.1.7 Invalid address
when trying to forward pages.
I found the solution on an osTicket forum:
http://www.osticket.com/forums/showthread.php?t=702
By following the advice in the above forum thread I changed the code in the forward.module to the following:
line 770 from:
$params['from'] = trim($form_state['values']['yname'] .' <'. variable_get('forward_sender_address', variable_get('site_mail','')) .'>');
To:
$params['from'] = trim(variable_get('forward_sender_address', variable_get('site_mail','')));
This resolved the error and allows me to continue to forward via email.
Comments
Comment #1
seanrThis is fixed in the next version. Release will be up soon.