473,625 Members | 3,134 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_VAR S['REMOTE_ADDR']);
$ip=gethostbyna me($HTTP_SERVER _VARS['REMOTE_ADDR']);

if ($B1) {
E-MAIL ADDRESS
$to = "myemail@mydoma in.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 1261
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
2085
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 receive them continuously until he decides he has seen enough of them. Then to stop receiving the emails he has to use his browser and go to the web page that is sending him the emails where he clicks a button. Would it be possible to arrange...
2
1214
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 message???!!! - Earthlink auto tags as SPAM). Of course, they claim it is the message content, but when I can send the exact same message from other services without a problem.... Anyway, I'm looking for suggestions to other services.
1
2043
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 continuously until he decides he has seen enough of them. Then to stop receiving the emails he has to use his browser and go to the web page that is sending him the emails where he clicks a button that alters a field in a database that acts as a flag....
4
2963
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 email by creating a text file, with content following certain format, and saving that file into the correct '..\mailroot\pickup' folder, and it is working fine
5
2622
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 depending on member expiration dates. When the form is submitted, the code loops through the form contents and sends an email to those members that meet the selected criteria. All this worked perfectly when I was sending text emails, but since I
13
3210
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 this, it seems, that the user must install IIS on their computer. Isn't there a class that will detect whatever mail server is available on a computer and use that? How do I create this functionality without having the user add any other...
6
2408
by: Eduardo Rosa | last post by:
Somebody knows how I queue email using .Net? thanks a lot
2
1849
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 emails with attached file, so it will take more time when the server is hardloaded, and I can't have a Cron job to do things. What's the best way ? the simplest seems to be the "location" to the script
9
3010
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 registered. do i have to have outlook express loaded. i have workstations that don't have outlook but rather lotus notes and want to send email to an smtp server. these emails have local attachment thus the need to run client script versus server...
5
1633
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 CDOSYS to allow visitors to our site to email us with a support request. I've been testing this functionality out, but the emails aren't actually being sent to our email addresses. I've looked all over the internet for how to send an email using ASP,...
0
8259
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8192
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8637
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8502
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7188
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6119
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5571
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1805
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.