473,503 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mail code works yesterday and not today

mail($recipients_separated, $this->subject, $this->message, $headers);

Gives me this error:

Warning: mail() [function.mail]: SMTP server response: 554 : Recipient
address rejected: Relay access denied in d:\webpages\classes\mail.class.php
on line 53

When i echo the above variables the line before the function is called the
values are:

$recipients_separated = li********@yahoo.com.au
$this->subject = 'Test'
$this->message = 'TEST'
$headers = 'From: ne*********@tececo.com <TecEco Newsletters>\r\n'

Can anyone see a problem that would be causing this? (I can send mail using
OE through the same mail server.)
--
JJ Harrison
li********@yahoo.com.au

Jul 16 '05 #1
0 1791

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1917
by: krusadr | last post by:
Hi All, I'm having trouble getting sendmail to behave with the php mail() function. The function is returning FALSE. Today it doesn't seem to want to allow mail entered via unix "mail" command...
3
2359
by: Gerhard Häring | last post by:
On my mailserver (running a recent Postfix snapshot) I get this since a few hours: mylene:/var# mailq -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- DA10713E37 1617 Wed...
4
4529
by: necromancer_stupidspambot | last post by:
Hi, I am trying to find a simple way to get "yesterday's" date. I know I can build various check to seee if we are in leap year, if we are the 1st then yesterday is the 31(or 30 depending of...
11
1778
by: Nigel J. Andrews | last post by:
Marc, I'd be interested in seeing the updated stats for this bought of virus transmission we're going through. Yesterday you had almost 1 for 1 valid email. By then I think I was getting about...
1
1584
by: John Kraft | last post by:
I'm developing a small utility for personal use using VS2003 and .NET 1.1. I use MessageBox.Show() often. Yesterday, it worked fine. Today it no longer works. I get a MessageBox with no text,...
1
2833
by: Joris De Groote | last post by:
Hi How can I easily make a date object that has the date in it of yesterday? (yesterdag of the date the program runs ;) ). Thanks
2
10471
by: Thierry Lam | last post by:
Is there an easy way to determine the yesterday's date(year-month-day) from the python datetime library if I know today's date? Thanks Thierry
8
1985
by: Robert Dufour | last post by:
Dim message As New MailMessage("mymail@mydomain.com", "mymail@mydomain.com", "Test", "Test") Dim emailClient As New SmtpClient("localhost") emailClient.Send(message) The IIS server is...
2
3978
by: pixie | last post by:
Hi, I have some code that I have been using for more than a year. Excel VBA. Today it stopped working. I have no idea why. Here is the code: Range ("E1").Select If IsEmpty(ActiveCell) Then...
0
7202
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
7086
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
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7462
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
5578
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
5014
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
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
382
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.