It is currently Fri Mar 29, 2024 12:22 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: How to let visitor send email to me without prompt Outlook?
PostPosted: Tue Feb 22, 2005 6:36 am 
Noobie
Noobie

Joined: Tue Feb 22, 2005 6:18 am
Posts: 5
Dear Sir/ Madam,

Do you know how to let my visitors who visit to my web site to send email to me WITHOUT prompt out the Outlook Express or Microsoft Outlook? Thank you very much!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 11:56 am 
Support Team Member

Joined: Thu Feb 10, 2005 12:13 pm
Posts: 76
In fact what pops up when someone begins to write mail is entirely in userland
I mean that if the Outlook is set up on the users PC as the default email client, then little can be done about it - it'll popup whenever that user clicks on an email link
I'm still not sure if that was your question thought
Pls, provide further details on what are you trying to do in case you need assistance again

_________________
Best Regards,
www.100WebSpace.com Support Team


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 2:24 pm 
Experienced
Experienced

Joined: Sun Feb 20, 2005 3:11 pm
Posts: 92
Location: Australia
You can skip having an email link entirely and have a PHP email form, I guess.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 22, 2005 2:36 pm 
Experienced
Experienced

Joined: Sun Feb 20, 2005 3:11 pm
Posts: 92
Location: Australia
A basic example.
Code:
<form method="post" action="send.php">
Your name:
<input type="text" name="name">
<p>
Your email:
<input type="text" name="address">
<p>
Subject:
<input type="text" name="subject">
<p>
Message:
<textarea cols="10" rows="5" name="message"></textarea>
<p>
<input type="submit" value="Send the email!">
</form>

You can add extra things to the INPUT fields like size (sets the size of the box) and MAXLENGTH (sets the maximum number of characters they can type into it).

That will send the four fields to the file send.php:
Code:
<?

$to = "youremail@whatever.com";
$subject = $_REQUEST['subject'];
$message = $_REQUEST['message'];
$headers .= $_REQUEST['address'];
$headers .= "From: $name <$address>\r\n";

mail( $to, $subject, $message, $headers );

?>

In the send.php you can add error checking, a result message, a page redirect, whatever. I think this form is probably about as simple as it gets.


Top
 Profile  
 
 Post subject: helpful, but got any other example?
PostPosted: Wed Feb 23, 2005 4:23 am 
Noobie
Noobie

Joined: Tue Feb 22, 2005 6:18 am
Posts: 5
Thanks for your helps. Well, what I meant is, even though the users have their own outlook express in their PC, but when they click the 'Send mail' button, the Outlook won't comes out and the message will send to me correctly.

I am trying for not to use the mail() function becoz freeownhost.com doesn't provide the SMTP for free account.

That's my problem, becoz i need the users to send me their messages such as complaints or questions asking. I'm not going to do Guestbook.

I really hope so that I can find the solution to solve it. If you have any other great idea, please share with me.. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 7:52 am 
Experienced
Experienced

Joined: Sun Feb 20, 2005 3:11 pm
Posts: 92
Location: Australia
You could perhaps include a paragraph or two explaining how they can set up Outlook properly.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 1:43 am 
NO! I'm not a flooder!
NO! I'm not a flooder!

Joined: Mon Feb 28, 2005 4:24 pm
Posts: 159
cant you have a comments section on your forum that would be an easy way to get feedback
:D

_________________
my Windows World


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 4:18 pm 
Noobie
Noobie

Joined: Mon Feb 21, 2005 7:02 pm
Posts: 27
See the FAQ on how to use the mail function when 100 webspace doesn't provide it.
http://forum.100webspace.com/viewtopic.php?t=313
An emailer script is available at the bottom of the post.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 16, 2005 4:47 am 
Noobie
Noobie

Joined: Thu Mar 10, 2005 6:55 am
Posts: 7
Or look at my post here.
http://forum.100webspace.com/viewtopic.php?t=706


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 20, 2005 4:00 am 
Noobie
Noobie

Joined: Wed Apr 20, 2005 2:45 am
Posts: 7
why don't use a guestbook from
http://php.resourceindex.net ?

Saludos

Yes, i know, i use so much this link but it has a HUGE collection of php scripts.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011