Welcome Guest, Not a member yet? Register   Sign In
Window, PHP , send mail via SMTP
#1

[eluser]M Moeen uddin[/eluser]
My scenario is this. I have no isp some mail.isp.com.. i m using boradband (shared).
Not even my local mail function run and gives error 'saying to change settings in the PHP.ini'
I have no smtp server, and i downloaded postcast server and hMailserver but my am unable to set them up.

Now.. i m completley lost.. Please Help ASAP.
#2

[eluser]obiron2[/eluser]
I presume you mean while you are developing on a local machine.

What I did was copy the email helper to MY_email and modified it to output it's contents to the screen so that I could at least see what would be sent. when uploading to the live site, don't upload MY_email and your emails will send with the correct protocold.

You will need mail functionality from your hosting service.

Obiron
#3

[eluser]Krzemo[/eluser]
You can easly use any free external mail account if you have internet connection. This is how im doing it.
Though, I had some problems (lf cr chars related) with CI Native mailer and used PHPMailer which worked.
#4

[eluser]M Moeen uddin[/eluser]
Thanks guys.

@Cshamoh

PHPmailer also works for me with smtp.googlemail.com BUT i want the native CI to use. (Preferably)

@obiron2
I will check by getting some local isp scratch card..




Theme © iAndrew 2016 - Forum software by © MyBB