Reference > Shop flow URLs > Trading subsystem URLs > Auction URLs
DeleteMail URL
Marks one or more messages in the MSGMEMREL table for deletion.
Marks one or more messages in the MSGMEMREL table for deletion.
URL structure
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
Parameter values
- msgrfn
- Required: The reference number of the message to be deleted. This parameter can be repeated.
- url
- Required: The URL to be called upon successful completion
Example
This example deletes message 5284, and redirects to the auction's main page:
http://myhostname/webapp/wcs/stores/servlet/DeleteMail?msgrfn=5284&URL=MailListView
Behavior
- Calls the MessageMemberRelationAccessBean to verify the message exists and belongs to the user.
- Changes the status of the row in the message table to 'D' (Deleted).
Exception Conditions
- Sets _ERR_CMD_BAD_PARAMETER if a parameter is missing or incorrect.
- Sets _ERR_CMD_MISSING_PARAM if the message is not found.
Related concepts
Related tasks
Related reference