473,499 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Email script isn't sending emails

1 New Member
Hiii

Can some please check my email script. I have gone through it several times but my mails won't come!!

here is the script

thank you-
[PHP]
.
.
.
<?php

function go($url)
{
echo "<html>\n<head>\n<meta http-equiv=\"refresh\" content=\"0;URL=$url\">\n</head>\n</html>"; exit;
}

$time = date("Y-m-d H:i");
$host = gethostbyaddr($HTTP_SERVER_VARS['REMOTE_ADDR']);
$ip=gethostbyname($HTTP_SERVER_VARS['REMOTE_ADDR']);

if ($B1) {
E-MAIL ADDRESS
$to = "myemail@mydomain.com"; // I've changed this for my real email
$subject = "Msg Via Contact Form";


$msg .= " Full Name: $onoma\n";
$msg .= " Company : $eteria\n";
$msg .= " Address : $dieyth\n";
$msg .= " Town : $poli\n";
$msg .= " Country : $xora\n";
$msg .= " Telephone : $tilefono\n";
$msg .= " e-Mail : $email\n\n";
$msg .= " Text : $sxolia\n\n";
$msg .= " Learned about us from: $mathate\n";

$form = $email;
mail($to, $subject, $msg, "From: $form\r\n");

$url="done.php";
go($url);

}


?>
.
.
.[/PHP]
Sep 20 '07 #1
1 1248
pbmods
5,821 Recognized Expert Expert
Heya, Harekrishna. Welcome to TSDN!

Changed thread title to better describe the problem (did you know that threads whose titles do not follow the Posting Guidelines actually get FEWER responses?).

Please use CODE tags when posting source code:

[CODE=php]
PHP code goes here.
[/CODE]

We're going to do you a favor by helping you solve your problem. So please do us a favor in return and next time post only the parts of your code that are relevant to your problem. Not only will this make other members more likely to want to read your post and help you out, but it is also a demonstration that you actually made an attempt to solve the problem yourself and are not just throwing up some code you copied off the internet somewhere whose purpose you haven't figured out.
Sep 20 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2074
by: Bill | last post by:
Is it possible to somehow activate a page containing a php script by sending an email to a mailbox on the server? I have a script that sends out notification emails to an individual. He wants to...
2
1204
by: Brett | last post by:
A client of mine uses ProAutoresponder for sending sequential emails. Lately, ProAutoresponder has been blacklisted or tagged as SPAM by just about everyone (Hotmail doesn't even get the...
1
2035
by: Bill | last post by:
Is it possible to somehow alter a field in a mysql database by sending an email to the server? I have a script that sends out notification emails to an individual. He wants to receive them...
4
2950
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text...
5
2608
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it...
13
3180
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using...
6
2392
by: Eduardo Rosa | last post by:
Somebody knows how I queue email using .Net? thanks a lot
2
1839
by: Bob Bedford | last post by:
I've seen many implementations of the timeout hack when sending a lot of emails. I can't set the timeout variable, as it's timeout(0) doesn't work, I still have 30 seconds. I've to send many...
9
3007
by: RedMoosh | last post by:
is it possible to rn a client side vbscript to send messages using cdo.message and cdo.configuration? what are the requirements to do this? my wks are xp and 2000 and all have cdosys.dll...
5
1625
by: WaluigiCubed | last post by:
Hello everyone: I've been working on making some changes to the website for the company that I am currently an intern for. There is a function that they have in one of their files that uses...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7009
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7390
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.