Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

alternative program that allows attachments

Working with eCommerce store where mail() is used, 'thank you for your purchase email' when they make purchase

Sometimes customers are emailed a pdf file

Looking for alternative  to php mail() that allows attachment file


I can not use phpmailer because gmail has many restrictions (I was only allowed 25 emails a day, with gmail blocking some emails)

Please do not suggest any answer involing phpmailer
Avatar of gr8gonzo
gr8gonzo
Flag of United States of America image

Phpmailer is not the problem. Phpmailer is just an alternative to mail() but both send email through an SMTP server the same way because there is really only one way to send emails. Using mail() is like having person A write a letter for you and put it in the mailbox. Using phpmailer or any alternative is like having person B write the letter an put it in the same mailbox. Both ways, they still get sent through the post office and its still the same letter.

You need to get an smtp server set up and set up spf rules to reduce the chances of your mail getting blocked. Read my article on email delivery.
Do you have a monthly budget for this project? If you can spare $15 a month then you can set up your own smtp server in a vps hosting account.
ASKER CERTIFIED SOLUTION
Avatar of Graham N.
Graham N.
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

thank you for suggestions on attachments