Skip to main content
Inspiring
July 28, 2007
Question

PHP Header redirect

  • July 28, 2007
  • 1 reply
  • 342 views
I need to somehow open the users email program with (mailto:) after a form has been input without the user clicking a link, i tried header("Location: mailto:") but that doesnt work.
is there a way to redirect to a page that will perform the same function as the mailto: . I dont want to use the mail() function as i would like the user to be able to use the contacts in their email program to email more than one contact.
Reason: the form creates a link (and inserts it into db) with a 21 digit random string that will allow a guest to view the one photo album that the random string is assigned to by clicking it.
This topic has been closed for replies.

1 reply

Inspiring
July 29, 2007
Haven't tried it:
Try the mailto: as form action?