Sendmail doesn't check for valid address's

Bug #499056 reported by Nicolas DS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Power Email
New
Undecided
Unassigned

Bug Description

Hi,
I would like to do sent a mailing with all address in Bcc and text instead of a destination email.

Like this:
http://bytes.com/topic/python/answers/22816-smtplib-question#post84321

But I see in code that if I put 'Undisclosed recipients' in 'To' field, I gonna have an error because:
In poweremail_core.py
=> def get_ids_from_dict
=> line 233
=> result['all'].extend(ids_as_list)

the result['all'] will contains the 'Undisclosed recipients' text, which is not a valid address and sent trough SMTP.

A final check should be done on all address ONLY in result['all'] that will remove all no valid address from this list.

See attachment for implementation of this method.

Revision history for this message
Nicolas DS (zyphos) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.