Sending an email to Outlook with PHP form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Vanhail
Forum Newbie
Posts: 2
Joined: Mon Feb 25, 2008 3:43 pm

Sending an email to Outlook with PHP form

Post by Vanhail »

I'm trying to send an email to an outlook address with a PHP form. The form is pretty basic, it just grabs variables, formats the email and sends it to the address. I can get it to send to my web based email, but they don't make it to the Outlook addresses I try. Is there any particular code I need to use in order to make it so Outlook can accept the email? Any ideas? Thanks,
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: Sending an email to Outlook with PHP form

Post by yacahuma »

outlook is just a mail client. When you send an email you can send it to anyone. read about swiftmailer or phpmailer to send email
easyredboy
Forum Newbie
Posts: 9
Joined: Tue Feb 26, 2008 12:18 am

Re: Sending an email to Outlook with PHP form

Post by easyredboy »

The thing is right! Outlook is just an email client
but u can send emails to ur hotmail, gmail account which can be received by outtlook expreess

:D

<span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> Parajuli
Vanhail
Forum Newbie
Posts: 2
Joined: Mon Feb 25, 2008 3:43 pm

Re: Sending an email to Outlook with PHP form

Post by Vanhail »

If I send an email to a gmail account I receive the email to an Outlook address I don't. So something has to be different, I'm not an expert with Outlook so I don't know if I need to add the from address or some sort of rule to allow the email.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: Sending an email to Outlook with PHP form

Post by yacahuma »

hello,


There is no such thing as an outlook address. There is only an email adress.


When you configure the Outlook program you specify your email server configuration. gmail offers pop and imaps accounts. You an configure outlook to retrieve those emails from your gmail account directly to outlook.
Post Reply