tracker issue : CF-3563072

select a category, or use search below
(searches all categories and all time range)

mail() doesn't work if setFrom is not a proper email address.

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): .5 .5 / .5 .5 (2e2e2e2e2)

Created: 05/19/2013

Components: Net Protocols, MAIL

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Problem Description:
mail() doesn't work if setFrom() is not a proper email address.

Steps to Reproduce:

Actual Result: Doesn't work

Expected Result: Does work

Any Workarounds: use <cfmail> instead

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3563072

External Customer Info:
External Company:  
External Customer Name: 2e2e2e2e2
External Customer Email:  
External Test Config:



Verified in CF10 update 11. Specified invalid email address in setFrom and it works fine. <cfscript> /* create mailer service */ form.mailto=""; form.mailFrom = "AnujNawani"; form.subject ="subject here"; mailerService = new mail(); mailerService.setTo(form.mailto); mailerService.setFrom(form.mailFrom); mailerService.setSubject(form.subject); mailerService.setType("html"); mailerService.send(body=""); </cfscript> Please let us know if this is fixed and can be closed. (Comment added from ex-user id:nawani)
Comment by Adobe D.
15345 | September 20, 2013 05:05:18 AM GMT
Have not heard from the customer. Closing the bug. If you are still facing the issue,do let us know.
Comment by Suchika S.
15346 | December 03, 2014 06:08:21 AM GMT