Skip to content

ARC compatibility and Invalid Email Address crash #56

Description

@GoogleCodeExporter
Hi all,
just to let you know that I've updated the SKPSMTPMessage classe and Extensions 
to make
the library compliant to ARC in iOS5.

Also, I happened to track down a bug that caused the application to terminate 
with EXC_BAD_ACCESS.
That only occurred when trying to send emails to invalid addresses (ie: 
yourname.hotmail.com): apparently,
the parser did not enlist the SMTP response code: 501 5.5.4 Invalid Email 
Address as a possibility,
which caused the program to keep running but  without a new StartWatchDog call, 
and a subsequest bad memory access at the end of the run loop when trying to 
deallocate the timer object.
I've changed the code to deal with this event.

If one of the developers could kindly point me towards the best place for me to 
upload the revised files,
I would be happy to share those with people using SKPSMTP under ARC developing.

Original issue reported on code.google.com by mmanni.dev on 21 Dec 2011 at 12:26

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions