Enter line break into mailto body

The body of a message must be encoded using the %0D%0A sequence

Eg;

mailto:name@domain.e_t?subject=Header&body=This is the first line%0D%0AThis is the second

white spaces also be replaced with the appropriate ASCII code which is %20

Eg;

mailto:name@domain.e_t?subject=Header&body=This%20is%20the%20first%20line%0D%0AThis%20is%20the%20second

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s