Jump to content

Is this possible?


PirateBagel

Recommended Posts

I want every e-mail that is sent from my host to include a header image.

 

I couldn't find a more appropriate forum to ask this in, considering that I don't even know how I would go about this.

 

Would this be serverside? Can a PHP script intercept all mails and include the image? Or would something like this have to be client side?

 

If there is a more appropriate forum, please move this thread. Thanks for the help!

Link to comment
Share on other sites

Ys Its possible with Zigmoyd mail Class.

YOu will find it on http://zigmoyd.sourceforge.net/man/mail.php

Please see http://zigmoyd.sourceforge.net/man/index.php for Installation and Instruction.

Adjust the setup_mail.php Properly

Here you need to do this in setup_mail.php

var $mail_header = "<img src = "http://yoursite.com/img.png" />";

And each and every email you will send using its mail will contain this Image as Header.

Link to comment
Share on other sites

Thank you!

 

I'll be looking into this right now, i'll let you know if it works or not.

 

Im also going to go donate $10 to the site right now, I said I would awhile back but didnt get around to putting money in my paypal until a week ago.

Link to comment
Share on other sites

The Current Version is Beta and has some Bugs So it has Some Bugs. So Please Download the Previous version 1.0.0.1 as this version works well

I did download that version, and I did insert the code (into setup_mail.php) you told me and changed it to the location of my image. I set the path in config.php correcty, but its still not working. I've gone through and tried multiple things, and made sure everything was in its correct place.

 

When you say, "Adjust the setup_mail.php properly" what exactly do you mean?

Link to comment
Share on other sites

First you need to install it properly.

for that download the proper version (PHP 4/5)

Then See this page  http://zigmoyd.sourceforge.net/man/index.php To see the Installation and Usage Instruction .

You need to Install it properly . Look at the Step 3 on Installation Steps carefully.

thats the Most Important Step

You need to use '/path/to' not '\path\to'

and You see in that Page there is an Example on how to use it.

And open the setup_mail.php and see at the bottom there is

-------------------------------------------------------

var $timeout = 5;//Set The timeout

var $mail_header = "www.yoursite.com\n---------\n";

var $mail_footer = "\nMail sent Using Zigmoyd Php Library";

-------------------------------------------------------

Change those Header and Footers .

 

Link to comment
Share on other sites

I've read and followed the instructions carefully, but I don't know if were on the same page here.

 

This isn't from just webmail, I want this to be included in every email (those sent from outlook, thunderbird, etc..)

 

Is this script capable of doing that?

Link to comment
Share on other sites

The only way I can see this working is if on your SMTP mail server you add custom code to it that does this.

 

This should have nothing to do with PHP since you are referring to other applications to send mail. This has to be done via the SMTP mail server. I suggest you find out what server you are using and do some google searching on extensions or hacks to it to get your derivied result. As of right now with the information you have given it is out of PHP's hands.

Link to comment
Share on other sites

This isn't from just webmail, I want this to be included in every email (those sent from outlook, thunderbird, etc..)
OOps I've overlooked this section . I think you wanna make a mail service providor Website ?

Thats not possible by PHP. You have to reconfigure your SMTP Server

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.